Mail::Box

Mail::Box

am 20.06.2008 00:29:53 von Philip Brewer

Hi

I am trying to write a Perl script, using Mail::Box, to parse email messages
(stored on a Linux server) and write the message to a new file. While most
of the basics are straightforward (From, To, Subject, etc.) I am having
problems with the body of the email, especially attachments. I have manually
parsed the body and saved a Word attachment successfully but it is rather
'hit or miss' and I would like to do it properly. I have read the Mail-Box
pages on CPAN and the tutorials and other information at
http://perl.overmeer.net/mailbox/ but I cannot find any examples which
return the actual body text (or attachment) of the email without all the
other information. Any direction you can point me in would be greatly
appreciated.

Regards
Phil Brewer

_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: Mail::Box

am 20.06.2008 01:22:39 von Michael Higgins

On Thu, 19 Jun 2008 23:29:53 +0100
"Phil Brewer" wrote:

> Any direction you can point me in would be greatly
> appreciated.

http://emailproject.perl.org/

HTH.

--
Michael Higgins
IS Specialist
The Banfield Group, LLC
mhiggins@banfieldgroup.com
503-352-3380 x205
_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: Mail::Box

am 21.06.2008 18:53:43 von Philip Brewer

> On Thu, 19 Jun 2008 23:29:53 +0100
> "Phil Brewer" wrote:
>
>> Any direction you can point me in would be greatly
>> appreciated.
>
> http://emailproject.perl.org/
>
> HTH.
>
Many thanks to Michael and Bill for your help. Although I could not find
exactly what I was looking for your suggestions guided me in other
directions and I have managed to parse the email and extract the attachment
when sent from a number of different sources.

Phil Brewer

_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs