Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Extracting Attachment from an Email

by ab1447 (Novice)
on Oct 19, 2004 at 19:14 UTC ( [id://400640]=perlquestion: print w/replies, xml ) Need Help??

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://400640]
Approved by ysth
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (8)
As of 2024-04-18 08:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found