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

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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (8)
As of 2016-10-21 19:39 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (289 votes). Check out past polls.