RE: E-mail Parsing

2004-08-04 Thread Thomas Bätzler
[EMAIL PROTECTED] <[EMAIL PROTECTED]> asked: > I'm have a email in a text file. From this file I would like > to get the sender information, the attached files and the > body of the e-mail. > > Is there something simple to do this? Yeah. MIME::Parser from the MIME-tools distribution. HTH, Thom

RE : E-mail Parsing

2004-08-04 Thread Jose Nyimi
> -Message d'origine- > De : Brian Gerard [mailto:[EMAIL PROTECTED] > Envoyé : mercredi 4 août 2004 19:40 > À : Perls of Wisdom > Objet : Re: E-mail Parsing > > And the clouds parted, and Wiggins d Anconia said... > > > > > I'm have a email

Re: E-mail Parsing

2004-08-04 Thread Brian Gerard
And the clouds parted, and Wiggins d Anconia said... > > > I'm have a email in a text file. From this file I would like to get the > > sender information, the attached files and the body of the e-mail. > > > > Is there something simple to do this? > > > > Check out the MIME::Parser or Mail::Box

Re: E-mail Parsing

2004-08-04 Thread Wiggins d Anconia
> I'm have a email in a text file. From this file I would like to get the > sender information, the attached files and the body of the e-mail. > > Is there something simple to do this? > > Marcos > Check out the MIME::Parser or Mail::Box modules from CPAN. There are others probably but these tw

Re: E-mail manipulation

2002-11-29 Thread joel_divekar
Hi Marcelo You can find a small Perl program written by me on www.perlmonks.org under 'code' -> 'E-Mail programs' -> 'Simple POP3 client Version 1.0.' (User - Jamnet) Regards Joel Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com Buy Music, Video, CD-ROM, Audio-Bo

Re: E-mail manipulation

2002-11-29 Thread Ankit Gupta
Hello, I am using MailMboxparser module and it can do what you want but the thing is that you will be able to read headers only when mails are in mail box. I have already implemented the same but as per your mail, you need headers before they are delivered to mail box. Ankit "Marcelo" <[EMAIL PR

Re: E-mail manipulation

2002-11-28 Thread Ramprasad A Padmanabhan
How do you propose to trap the mail before delivery ? If you are using a milter ( Sendmail::Milter ) then you will get all headers in the header call back. It would however be unwise to parse the entire mail for the sake of the headers. In case, however , you are using an intermediate progra

RE: e-mail

2002-10-02 Thread Kipp, James
I think you answered your own question :-) NET::POP3 to deal with the incoming mail and Net:SMTP to process the outgoing mail. Can also look at Mime::Lite > -Original Message- > From: Jerry Preston [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, October 02, 2002 8:35 AM > To: Beginners Perl

Re: e-mail

2002-10-02 Thread Kevin Meltzer
I usually suggest MIME::Parser for breaking up emails in to nice seperate parts. See if that fits your needs. As for fetching the mail, look at one of the POP modules, or Mail::IMAPClient or Mail::Cclient if you use IMAP. Cheers, Kevin On Wed, Oct 02, 2002 at 07:34:39AM -0500, Jerry Preston ([EM