in reply to Perl & mail headers
Immediately following the From_ are the message headers, followed by a blank line, followed by the body of the message. The message ends at the next From_ or at EOF./^From /
As Stevie-O suggests, you'll probably want to use a mail parsing module for this. It's not that hard to write your own, but almost nobody gets it right the first time, and it's easier to just use one of the modules
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Perl & mail headers
by nothingmuch (Priest) on Apr 30, 2004 at 13:29 UTC | |
|
Re: Re: Perl & mail headers
by zakzebrowski (Curate) on Apr 30, 2004 at 12:25 UTC |