views:

421

answers:

2

We are writing an email web client in Ruby to handle (potentially international) emails. I am looking for a high-level email library that supports retrieving emails, parsing email raw, decoding MIME, and converting input into UTF-8. Is there a library that you can recommend?

+4  A: 

You can try any of these:

If you want to re-invent the wheel, there is the native Net::SMTP class. In another StackOverflow thread, there is a good proof of concept of this.

Peter Di Cecco
+1 for ActionMailer
Matt Grande
I looked into TMail, but I cannot find how to decide `MIME` subjects.
notnoop
A: 

My favorite library for handling mail is MailFactory

Ruby comes with net/imap and net/pop to handle retrieving mail.

Jason stewart