in reply to Finding e-mail headers
Have you looked at Mail::Header?
An email is composed of the headers, one blank line and the body. A regex could even be used if you really wanted to. Untested: my ($header, $body) = $email =~ /^(.*?\n)\n(.*)$/;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Finding e-mail headers
by Callum (Chaplain) on Jun 30, 2003 at 18:24 UTC | |
by AssFace (Pilgrim) on Jun 30, 2003 at 18:32 UTC | |
|
Re: Re: Finding e-mail headers
by AssFace (Pilgrim) on Jun 30, 2003 at 18:50 UTC |