Displaying 1 result from an estimated 1 matches for "deliver_email_updates".
2005 Nov 07
0
Using Layouts with ActionMailer when sending html formatted emails
...;t know how to get the layout specified. I am calling the Mailer class
method to send the email from within the articles controller (for those
familiar with typo). I know about setting the layout in the Render command
from reading the Rails book, but where would I do so here? I fire off the
Mailer::deliver_email_updates() command and it ''renders'' the email based
upon the email_updates method in my Mailer Class (Mailer <
ActionMailer::Base).
I''ve even tried setting the layout in the hash that I send to the body, and
tried various naming conventions to see if it will get automatically...