Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Creating mail::message from retrieved text

by redlemon (Hermit)
on Feb 08, 2005 at 19:50 UTC ( #429200=note: print w/ replies, xml ) Need Help??


in reply to Creating mail::message from retrieved text

You may want to experiment with Mail::Message->buildFromBody() which is part of the Mail::Box distribution


Comment on Re: Creating mail::message from retrieved text
Download Code
Replies are listed 'Best First'.
Re^2: Creating mail::message from retrieved text
by raflach (Pilgrim) on Feb 08, 2005 at 20:32 UTC
    Thanks, but buildFromBody, requires a Mail::Message::Body object, which requires the same type of parsing as Mail::Message. I just know there have to be hooks in there somewhere to read in a plaintext file and produce a Message object, but I haven't been able to find them. As an alternative does anyone have any e-mail header/body parsing routines that return some easily manipulable hash/array/whatever that I could then use to construct a message using build?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2016-02-14 17:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (470 votes), past polls