Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET Objects

 AfterLogic Forum : MailBee.NET Objects
Subject Topic: Problem with Attachments Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
ahartenb
Newbie
Newbie


Joined: 24 November 2006
Online Status: Offline
Posts: 7
Posted: 24 November 2006 at 9:00am | IP Logged Quote ahartenb

Hello

I am currently trying to delete Attachments from an email-message I load from disc (.eml-file). It seems that all steps do succeed. But still if I save the mail to an .eml file after deletion of the Attachments and reload it again, the attachment is back. I delete attachments like this:

email.Attachments.Remove("SOMENAME.PDF")

then I save the mail via

email.SaveMessage("SOMEDRIVE:\SOMEFILEPATH\SOMEFILENAME.EML" )

Once I reload the .EML file all Attachments are back. Sometimes my PlaintextBody is deleted.

Best regards,
Andreas
Back to Top View ahartenb's Profile Search for other posts by ahartenb
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 24 November 2006 at 1:16pm | IP Logged Quote Alex

Quote:
email.SaveMessage("SOMEDRIVE:\SOMEFILEPATH\SOMEFILENAME.EML" )

Please get the latest version of MailBee.NET.dll to have this fixed.

Quote:
Sometimes my PlaintextBody is deleted.

We could not reproduce this? Could you please send us a problem message to support at afterlogic.com so we would be able to examine it?

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
ahartenb
Newbie
Newbie


Joined: 24 November 2006
Online Status: Offline
Posts: 7
Posted: 27 November 2006 at 9:24am | IP Logged Quote ahartenb

Hello Alex,

it works . Thanks a lot for this quick answer and solution. I was not able to reproduce the problem where my PlaintextBody was deleted with the old .dll-file. If it appears again, I'll mail you the Problem description, some code plus the Mail.

Andreas
Back to Top View ahartenb's Profile Search for other posts by ahartenb
 
ahartenb
Newbie
Newbie


Joined: 24 November 2006
Online Status: Offline
Posts: 7
Posted: 23 February 2007 at 11:21am | IP Logged Quote ahartenb

Hello again,

I am running into Problems with the License on my customers machine. I get the Message that my License is not valid. Is it possible that this is because i have to use V 3.0.0.17 du to the problems i had with the attachment's. It works fine here on my development machine. I installed the same way as i do with my customers. I did something like this in my code:
.
.
.
dim inbox as Pop3 = Nothing
inbox.LicenseKey = 'MN200 .... '
inbox = new Pop3
.
.
.

Please reply as fast as possible. It's really urgent.

Regards, Andreas
Back to Top View ahartenb's Profile Search for other posts by ahartenb
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 23 February 2007 at 3:26pm | IP Logged Quote Alex

Looks like it works on your machine because you have the license key set in the registry or machine.config file. The license key itself for 3.0 is the same as for 2.0. As for assigning the license key in the code, you set it incorrectly.

LicenseKey is a static property, not an instance property. You should set it for the entire class before creating instances of the class:

Pop3.LicenseKey = "key"
Dim inbox as Pop3 = new Pop3

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide