- Original Message -
From: Mike Miller [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, July 07, 2001 6:08 PM
Subject: Module to Parse MIME-encoded Email?
Gurus:
As a learning exercise I'm writing my own web-based POP3 client, and
wish to be able to handle emails which are MIME-encoded. So I'm looking
for perhaps a module which will take the full message, give me back
headers I want, and parse the body and return it in a form that could
be dumped straight to the browser. (At the very least, a module to which
I could feed the MIME-encoded body would be nice, as I can parse the
headers myself).
Try Mime::Parser.
That might do what you want.
I think it can handle both Base64 and UUencoded messages (beware that
outlook express has some different way in adding padding characters and
things).
Maarten.