andyedinborough / aenetmail

C# POP/IMAP Mail Client
369 stars 153 forks source link

AOL Attachments #79

Open ghoti70 opened 12 years ago

ghoti70 commented 12 years ago
  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?

ghoti70 commented 12 years ago

Update: I've now seen 2 out of 40 attachments detected by this code. There is something about their MIME encoding that is non-standard.