Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > maildir gem versus IMAP et. al.

Thread Tools

maildir gem versus IMAP et. al.

Posts: n/a
I had trouble using the NNTP gems available, so I've setup a mailman Mail<->News gateway which is delivered as maildir to my home directory. Maildir seems fine with me, and the gem looks good. Now onto parsing the messages.

To parse e-mails, the maildir gem would be fit the bill? Might it be useful to install an IMAP server and then use an IMAP type gem? I haven't researched such a gem first, just wondering what the most mature or used gem is,and whether it's warranted to switch to IMAP (or something else) to use it..

Is there maybe a high level ROR app for parsing e-mails I'm not aware of? Or, is it the case that the maildir gem is "sufficiently" high level enoughfor parsing e-mails? I don't want to get into the weeds too much on this.

I have seen some interesting ruby e-mail programs, sup looks interesting. However, I have to RTFM on it a bit, not sure to what extent it just tags e-mails, or whether you can really parse and process it. Or maybe another program? I think I saw "notmuchmail", IIRC, which also looked interesting.

I don't want to re-invent the wheel, unless it's fun to do so.

Down the road, this might be a ROR project for me. For the moment, it's only parsing e-mails, and then maybe populating a database.

So, just any general advice on how to proceed down this path, any particular pitfalls or well traveled paths?

I was surprised to find just one useful question on stackoverflow:


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Mozilla versus IE versus Opera versus Safari Peter Potamus the Purple Hippo Firefox 0 05-08-2008 12:56 PM
A question about creating Maildir mailboxes with mailbox.Maildir Python 0 04-03-2008 01:00 PM
equal? versus eql? versus == versus === verus <=> Paul Butcher Ruby 12 11-28-2007 06:06 AM
Writing IMAP->GMail proxy... Where to go for IMAP RFC help? Jon Fi Ruby 4 10-21-2006 09:00 PM
Curier-IMAP and imap.create() Henrik Ormåsen Ruby 0 08-19-2006 06:29 AM