Lazy<MailMessage>[] msgs = imap.SearchMessages(SearchCondition.Unseen());
foreach (var lazy in msgs)
{
MailMessage msg = lazy.Value;
if (msg.Attachments.Count > 0)
{
// do work
}
}
Attachments when message is from AOL do not trigger this code. I can forward the mail from another address, without making any changes to the attachment, and it will process.
Is there another way to detect / use attachments from AOL?
Attachments when message is from AOL do not trigger this code. I can forward the mail from another address, without making any changes to the attachment, and it will process.
Is there another way to detect / use attachments from AOL?