Author |
|
ahartenb Newbie
Joined: 24 November 2006
Online Status: Offline Posts: 7
|
Posted: 19 April 2007 at 11:38am | IP Logged
|
|
|
Hello MailBee Team,
i am running into problems when reloading a .eml file with some attachments via the msg.LoadMessage("filename.eml") and then trying to attach new some new files. All old attachments are handled correctly. The new ones simply aren't attached to the msg object. I need to save the File as draft. I use the Mailbee.Net 3.0.0.17 from the Download supplied by Alex in my elder post.
Thanks in advance,
Andreas
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 19 April 2007 at 12:30pm | IP Logged
|
|
|
To let us investigate the issue, please provide us with the code you're using to load the message, add new attachments, and then save the updated message. Also, please provide those files which cannot be attached (if they are 100KB+, please .zip them first). You can post you reply at MailBee Support Request form.
Please also paste URL of this forum post in your reply. Thanks!
Regards,
Alex
|
Back to Top |
|
|
ahartenb Newbie
Joined: 24 November 2006
Online Status: Offline Posts: 7
|
Posted: 20 April 2007 at 9:58am | IP Logged
|
|
|
Very simple example code:
Module AttachmentProblem
Sub Main()
Dim mm1 As New MailBee.Mime.MailMessage()
mm1.To.AddFromString("mail@ddre.ss")
mm1.BodyPlainText = "Simple Sample for the MailBee Team"
mm1.From.AsString = "mail@send.er"
mm1.Attachments.Add("txt1.txt")
mm1.Attachments.Add("txt2.txt")
mm1.SaveMessage("mm1.eml")
mm1 = Nothing
Dim mm2 As New MailBee.Mime.MailMessage
mm2.LoadMessage("mm1.eml")
mm2.Attachments.Add("txt3.txt")
mm2.SaveMessage("mm2.eml")
mm2 = Nothing
End Sub
End Module
the textfiles are simply empty files (doesn't seem to matter if the file's got some Mb or 0kb). I did a workaround for my customer since afterlogic.com was down for few hours.
The error also occurs when sending the above message via smtp.
Greetings an thanks again ;),
Andreas
|
Back to Top |
|
|
Andrew AfterLogic Support
Joined: 28 April 2006 Location: United States
Online Status: Offline Posts: 1189
|
Posted: 23 April 2007 at 7:45am | IP Logged
|
|
|
Thank you for the bug report. We've fixed that bug. Please download the latest version of MailBee.NET.dll which allows avoiding such workaround.
Please let us know if this works as expected.
Best regards,
Andrew
|
Back to Top |
|
|