Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

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?

Comment on Re: Trying to correctly parse MIME
Download Code

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: (4)
As of 2015-11-26 04:03 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (696 votes), past polls