Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: Reliable email parsing

by dave0 (Friar)
on Sep 13, 2006 at 13:53 UTC ( #572750=note: print w/replies, xml ) Need Help??

in reply to Reliable email parsing

The most robust MIME-parsing module on CPAN is probably MIME-tools.

It suffers from about 10 years of accreted edge-cases and bugfixes tacked on top of the original design, so while it isn't nice code by any means, it handles just about anything you can throw at it (RFC-compliant or not).

I currently work for the maintainer of MIME-Tools, so it's on my TODO list to start refactoring some of the 10 years of cruft -- patches are welcome.

Replies are listed 'Best First'.
Re^2: Reliable email parsing
by jdtoronto (Prior) on Sep 13, 2006 at 17:23 UTC
    I have to agree dave0, I have spent a lot of time over the last 20 years or so writing email clients. Originally in C, then C++ and, horror of horrors, in VB. But the most trouble free has been Perl with Net::SMTP, Net::POP3 and MIME::Tools. About a year ago I took all the email related RFC's, plus all the things like the DBJ documents and bound them into a book about 40mm thick. With all of that as reference material, and the Perl modules, I haven't found a thing I can't handle.

    Good luck with your refactoring efforts, I, for one, look forward to seeing the results and the extended lifetime of a great family of modules.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://572750]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2021-04-15 07:54 GMT
Find Nodes?
    Voting Booth?

    No recent polls found