Excellent! Thanks
Dan
> -Original Message-
> From: Casey West [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 21, 2003 2:50 PM
> To: Dan Muey
> Cc: Casey West; [EMAIL PROTECTED]
> Subject: Re: parsing email from STDIN
>
>
> It was Friday, February 21,
It was Friday, February 21, 2003 when Dan Muey took the soap box, saying:
:
: >
: > It was Friday, February 21, 2003 when Dan Muey took the soap
: > box, saying:
: > : Hello list,
: > :
: > : What is the best way to get the headers of an email into a
: > hash and also the text part of the body
>
> It was Friday, February 21, 2003 when Dan Muey took the soap
> box, saying:
> : Hello list,
> :
> : What is the best way to get the headers of an email into a
> hash and also the text part of the body into an array or variable?
>
> Mail::Internet->new() accepts a list reference full of li
It was Friday, February 21, 2003 when Dan Muey took the soap box, saying:
: Hello list,
:
: What is the best way to get the headers of an email into a hash and also the text
part of the body into an array or variable?
Mail::Internet->new() accepts a list reference full of lines in an
email messa
Thanks I'll look into parsing out the message from the header boundary bit.
All I'm trying to do is get some of the header fields and do different things based on
them. And store the body alone somewhere.
Here's what I have and it works perfecto but one question...
---
use Mail::I
On Fri, 21 Feb 2003 11:13:06 -0600, "Dan Muey" <[EMAIL PROTECTED]> wrote:
> Sweet!! Thanks a million!!!
>
> Any ideas how to get the text/plain section of the message into an array or scalar?
>
This goes back to the everything in the body before
bject: Re: parsing email from STDIN
>
>
> It was Friday, February 21, 2003 when Dan Muey took the soap
> box, saying:
> : Hello list,
> :
> : What is the best way to get the headers of an email into a
> hash and also the text part of the body into an array or variable?
Hello list,
What is the best way to get the headers of an email into a hash and also the text part
of the body into an array or variable?
Here's what I have so far ::
Assuming I have the entire email form stdin in the var $entmsg.
# First get body
use Mail::Internet;
my $mail = new Mail::Inter