Displaying 1 result from an estimated 1 matches for "confirmation_message".
2005 Dec 19
0
Re: Rails Digest, Vol 15, Issue 392
...at recent versions of Rails include an "attachment" method that can be invoked from within a subclass of ActionMailer::Base. This sounded pretty good, but I was a bit worried about the results (and rightly so, it turned out. I ended up doing something like this in my mail method:
def confirmation_message(order, person, payment_method, label)
@subject = "Confirming order ##{order.id}"
@from = ''orders-NKvcMekWyJVWk0Htik3J/w@public.gmane.org''
@recipients = person.email_address
attachment(:content_type => ''application/pdf'',...