I am able to pop message from a smtp mail server. Then I extract the attachments from each messages and save them to a location. Sometime, the Mail.Attachments.Count return 0 even there are 2 to 3 attachment there. Below is my code:
MailMessage message = client.GetMailMessage(i);
MessageID = message.MessageId.ToString();
Subject = message.Subject;
EmailFrom = message.From.ToString();
EmailTo = message.To.ToString();
attachmentno = message.Attachments.Count;
There may be also something strange in outlook, when I look at that email in Outlook 2007, normally, you can save the attachments by Office Bubble -> save attachements then a dialogue pop up, but with this email, it will not come up with the dialog box, but the outlook clear shows that there are 3 attachments and you can preview them.
AM I missing something?