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

RE: Mail Headers

Thread Previous | Thread Next
Bob Showalter
December 27, 2002 06:03
RE: Mail Headers
Message ID:
> -----Original Message-----
> From: Yupapa []
> Sent: Friday, December 27, 2002 5:00 AM
> To:
> 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


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About