in reply to Attachments in emails and finding matches and cross referencing

Question 1: There are a lot of Mail and MIME handling modules on CPAN, typically they have mail or mime in their name. Just try to search. I use MIME::Parser in one of my scripts to handle all kinds of MIME attachments.

Question 2: Not really an answer, but are you trying to re-invent maildir, maildir++, or IMAPdir? If not, consider using them. One e-mail == one file. No need to mess with attachments in separate files.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
  • Comment on Re: Attachments in emails and finding matches and cross referencing

Replies are listed 'Best First'.
Re^2: Attachments in emails and finding matches and cross referencing
by Faile (Novice) on Nov 25, 2010 at 14:11 UTC
    Alexander,

    1: Thanks for your response. I found MIME::Parser a little after writing that first question, thanks for the pointer :)

    2: No, I'm not trying to handle the mail at all, I'm just interested in the attachments. I want to verify from a 2nd location that all the attachments have gotten extracted from mail and saved to disk by an external application that I cannot see.