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.
5f3d52658aafcf0aabe76a5147e8909f?d=identicon&s=25 TomRossi7 (Guest)
on 2009-03-24 15: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>

112c3dcf580abee701d2f5630e767ac2?d=identicon&s=25 Benjamin Meichsner (benni)
on 2009-05-18 13: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.