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?
3 Answers
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.
-
-
TMail was replaced by mail as described on the TMail site. mail is now the default library for ActionMailer in Rails. Dec 6, 2012 at 12:42
My favorite library for handling mail is MailFactory
Ruby comes with net/imap and net/pop to handle retrieving mail.
Check out also:
Very promising "mutt"-like e-mail client written in Ruby!