Displaying 1 result from an estimated 1 matches for "cmasend".
Did you mean:
cased
2006 May 01
0
Same .rhtml and partial in mailer and non-mailer contexts
I have an ActionMailer template that properly generates HTML email. It
contains a partial.
The mail action was called via the following in my controller:
def cmasend
@cmaform = Cmaform.find(params[:id])
Mailer.deliver_cma(@cmaform)
flash[:notice] = ''CMA Sent.''
redirect_to :action => ''list''
end
Then, in order to allow a "preview" of the message in a browser, I found
that if I called Mailer....