Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: mime parser multiple emails

by thanos1983 (Parson)
on Mar 28, 2019 at 08:34 UTC ( #1231777=note: print w/replies, xml ) Need Help??


in reply to mime parser multiple emails

Hello jjoerg,

Welcome to the Monastery. Fellow Monk roboticus already answered your question but I wanted to add something small in case that can help you move with your task and possibly get more information on the process. There is a really nice "Tutorial" and sample of code on the Monastery, have you read this Parsing emails with attachments?

From my point of view this all you need to get you going :). If this is not enough why not use another module as well Email::Simple?

Update: Removing wrong recommendation of module. Thanks to fellow Monk parv for noticing.

Hope this helps, BR.

Seeking for Perl wisdom...on the process of learning...not there...yet!

Replies are listed 'Best First'.
Re^2: mime parser multiple emails
by parv (Vicar) on Mar 28, 2019 at 08:46 UTC

    I do not see how Email::Simple would help OP as it (a) works with a single message and (b) gives headers & body; does not have the capability to extract an attachment.

      Hello parv,

      You are right, I skipped checking further if Email::Simple can parse the attachment. Thanks for pointing out :).

      BR / Thanos

      Seeking for Perl wisdom...on the process of learning...not there...yet!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1231777]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2020-05-31 07:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (173 votes). Check out past polls.

    Notices?