Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Mail::Message Problem

by kvale (Monsignor)
on Nov 05, 2008 at 00:51 UTC ( #721543=note: print w/ replies, xml ) Need Help??


in reply to Mail::Message Problem

When trying to debug a problem like this, is best to start with the simple explanations and go from there. One could look at the module source Read.pm, but understanding the code might be a complex task. So I would look at line 106 in your mail file.

You don't show us this line, but the the error message gives a clue. Mail messages have fields in the header, like From:, To:, Received:, etc. The apparent problem is that the text on line 106, From - Thu Oct 16 16-1 looks like a malformed From: line.

This may be due to a malformed mail file; the module may have not seen the end of the mail header and went merrily along parsing body lines. Make sure that mail headers are properly terminated and that there is proper termination of mail messages as well.

-Mark


Comment on Re: Mail::Message Problem
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2014-07-13 05:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (246 votes), past polls