Unable to get attachement

Jun 20, 2010 at 1:30 PM

Hello,

I'm trying to use the component to receive an attachement, but the message.Contents property is empty.

This is more or less the code I'm using:

Pop3Client cl = new Pop3Client();
cl.UserName = "myName";
cl.Ssl = true;
//set other property

cl.Authenticate();

foreach (var pop3ListItemResult in client.ExecuteList())

{                    
var message = client.GetMessage(pop3ListItemResult.MailIndex); //works fine
Pop3Content ct = mg.Contents[0]; //mg.Contents.Count == 0
}

Why is that happening and how can I resolve that?

Thanks,

Adam

Coordinator
Jun 22, 2010 at 5:05 PM

This is bug and modified recent version.
Please check it out!!

Jun 22, 2010 at 8:12 PM
Work fine! Работает отлично! Thanks for fix bug!