What libraries should I use for MIME parsing, XML parsing, and MySQL ?

J

John Levine

I have a new application where people send me mail messages each of
which has an attached ZIP file. Inside the ZIP file is an XML file
which I want to parse and put the interesting bits into a MySQL
database. (This is the dmarc.org system, in case you were wondering.)

I'm running on FreeBSD which uses ruby 1.8. I see a bazillion ruby
packages in the ports collection, but it's not obvious which ones are
better than others. I figured out that Archive::ZIP is a reasonable
way to get stuff out of the ZIP file, but which libraries should I use
to:

* parse mail messages and extract MIME parts

* parse XML files

* talk to MySQL databases?

TIA
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,989
Messages
2,570,207
Members
46,782
Latest member
ThomasGex

Latest Threads

Top