ab1447 has asked for the wisdom of the Perl Monks concerning the following question:

I am trying to extract certain attached files from particular emails.
Someone told me that I need to map my email box. I have little idea
where to start, and great appreciate any help and guidance.

Thank you in advance.

ab1447

Replies are listed 'Best First'.
Re: Extracting Attachment from an Email
by pizza_milkshake (Monk) on Oct 19, 2004 at 19:37 UTC
    i just wrote a script a few weeks ago to check a pop3 account, download emails, check and process attachments using Net::POP3 and Email::MIME. by "map my email box" do you mean use IMAP? Net::IMAP should do it for you.

    perl -e"\$_=qq/nwdd\x7F^n\x7Flm{{llql0}qs\x14/;s/./chr(ord$&^30)/ge;print"

Re: Extracting Attachment from an Email
by FoxtrotUniform (Prior) on Oct 19, 2004 at 20:16 UTC

    The answer's probably going to depend on how you get your email. Do you use webmail? POP/POP3? IMAP? Unix mail (and if so, maildir, mbox, or Emacs' abomination)?

    If you don't know, the best place to start is probably the documentation for your email system. Once we know what you're dealing with, we can give better answers. :-)

    --
    Yours in pedantry,
    F o x t r o t U n i f o r m

    "Lines of code don't matter as long as I'm not writing them." -- merlyn