Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Trying to correctly parse MIME

by SilasTheMonk (Chaplain)
on Jun 29, 2010 at 06:20 UTC ( #847058=note: print w/replies, xml ) Need Help??

in reply to Trying to correctly parse MIME

Hi Interwebs

I have downloaded your files and had a play. First of all your script is not terribly informative. I was debugging at around line 16 and I think at this stage you find it helpful to add this there:

die "empty header" if !$header; print $header->as_string;
This shows that if you remove the initial empty line at the start of the email file it at least it picks up the headers. Did you try debugging the code and using the various as_string methods in MIME::Tools to get more insight into what is happening?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://847058]
and monks are getting baked in the sun...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2018-04-22 01:31 GMT
Find Nodes?
    Voting Booth?