Multipart Emails in Rails 2.3.2


#1

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:

mailer_action.text.plain.erb
mailer_action.text.html.erb

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>

Thanks!
Tom


#2

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”

end