Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2014-08-30 08:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (291 votes), past polls