Forum: Ruby on Rails Multipart Emails in Rails 2.3.2

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
TomRossi7 (Guest)
on 2009-03-24 16:06
(Received via mailing list)
Does anyone know the new convention for delivering multipart emails in
2.3.2?  I can't find the docs on it, but the old way of having your
files like:


This doesn't seem to work anymore.  I keep getting the error

#<ActionView::MissingTemplate: Missing template mailer/
mailer_action.erb in view path app/views>

Benjamin M. (Guest)
on 2009-05-18 15:37
TomRossi7 wrote:
> mailer_action.text.plain.erb
> mailer_action.text.html.erb

This works for me. But maybe you forgot to define the content type
"multipart/alternative" in your mailer action?

def newsletter(recipient)
  content_type "multipart/alternative"
This topic is locked and can not be replied to.