07 Aug '12, 5pm


Each would be rendered and added as a separate part to the message, with the corresponding content type. The content type for the entire message is automatically set to multipart/alternative , which indicates that the email contains multiple different representations of the same email body. The same instance variables defined in the action are passed to all email templates.

Full article: http://api.rubyonrails.org/classes/ActionMailer/Base.html...