Mail now in ActionMailer

3 views
Skip to first unread message

Mikel Lindsaar

unread,
Dec 29, 2009, 8:15:41 PM12/29/09
to rubyonra...@googlegroups.com, Ruby on Rails: Talk
OK everyone, so we finally have Mail merged into ActionMailer replacing out TMail

This is for the 3.0 release, and not part of the 2.x tree.

I am the TMail maintainer and I decided this year to write a ruby email handler, the Mail gem is my solution to this.

Mail takes a very object oriented approach to email.  It conforms to RFCs as closely as practical and parses the 0.5gb Trec and 2.5Gb Enron email/spam database (about 500,000 emails) without crashing.

Anyone who has used TMail will appreciate things Mail does and you should not have too much trouble moving over.  The only thing you need to keep in mind is that in mail, everything is an object, so you have to call :to_s to get string values.  Mail also has :decoded and :encoded methods for every object which should help you out more.

Also, unlike ActionMailer's vendoring of TMail, Mail is a gem dependency, so we can keep things up to date easily.

You can read about the Mail gem at:


The commit where Jeremy merged in my changes is at:

Ryan Angilly

unread,
Dec 30, 2009, 9:13:28 AM12/30/09
to rubyonra...@googlegroups.com
Good stuff.  Thanks Mikel!

--

You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To post to this group, send email to rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-co...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.

Reply all
Reply to author
Forward
0 new messages