ruby on rails - Difference between ActiveMailer and Mail gem? -


in ruby on rails 3 can use activemailer sending emails.

also can install mail gem.

i wonder difference is?

does mail gem provide things activemailer doesnt?

should install gem?

thanks

the relationship between 2 mail gem how rails 3 implements mail ( replacing previous tmail approach in earlier versions). in other words, actionmailer rails wrapper around mail gem's usage within framework.

from post gem's author:

the prior versions of actionmailer used tmail email delivery needs, , because functionality missing in tmail (such auto quoting , encoding of fields, handling multipart emails smoothly, etc.), actionmailer had grown set of complex , fragile methods shoehorn in missing functionality.

that post here. , screencast might helpful if haven't seen already.


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -