develooper Front page | perl.beginners | Postings from December 2002

RE: Mail Headers

Thread Previous | Thread Next
From:
Bob Showalter
Date:
December 27, 2002 06:03
Subject:
RE: Mail Headers
Message ID:
2E4528861499D41199D200A0C9B15BC001D7E613@FRISTX
> -----Original Message-----
> From: Yupapa [mailto:webmaster@yupapa.com]
> Sent: Friday, December 27, 2002 5:00 AM
> To: beginners@perl.org
> Subject: Mail Headers
> 
> 
> Hello,
> 
> I am writing a web-based email program in Perl and need some 
> help about the
> mail headers.
> How do you remove them and display the content?
> And how do you know which part of the entire mail is an attachment?
> 
> Generally, my program uses the Net::POP3 module for logging in and
> downloading mail and put each mail to a .txt file.
> In order to have better quality of the look of email, i have 
> to remove the
> mail headers. Any help would be appreciated.

Email messages are MIME messages, so you need to look at the various MIME
modules on CPAN.

Start with MIME::Tools

<http://search.cpan.org/author/ERYQ/MIME-tools-5.411a/>

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About