Displaying 1 result from an estimated 1 matches for "template_to_use".
2006 Nov 04
1
ActionMailer Sending Two text/plain Parts
...ts own text/plain section in addition to
the one I specify. Does anyone have any ideas on why this might be
occuring, when I am specificially specifying a "text/plain" part?
Thx in advance, here is the code:
notifier.rb code
------------------
def dynamic_mailer(email_address, subject, template_to_use)
@from = "no-reply@nothing.com"
@subject = subject
@recipients = email_address
part :content_type => "text/plain", :body =>
render_message(template_to_use + ".text.plain.rhtml", :foo => "foo")
part :content_type => "text...