Header folding
"Scott Grim" <[email protected]> Wed, 18 Aug 2004 13:15:52 -0400
| Newsgroups | gmane.comp.lang.perl.modules.mail-box |
|---|---|
| Message-ID | <009301c48547$04443e50$6400a8c0@Scott> |
It appears that the read method in Mail::Message::Construct::Read assumes that all header lines are already folded and makes no effort to fold them. Is there any (easy) way around this in the case that the header has lines that are, in fact, not folded? I have the entire message in a scalar variable and would like to use read to put it into a Mail::Message object. From there, I need to evaluate and sometimes modify header information (to do spam marking, etc) before inserting the message into a database for a database-driven mail system.