It appears there are two ways to create mail with Action Mailer:
I use this way, I noticed exception_notification does as well:
subject "Some subject"
body :order => order
AWDwR P1.00 printing, November 22, 2006 uses this way:
@subject = "Pragmatic Store Order Confirmation"
@recipients = order.email
@from = 'firstname.lastname@example.org'
@sent_on = Time.now
@body["order"] = order
The later has been around as long as I can remember, while I _thought_
the former was the "newer" way. It seems much cleaner, but it would be
nice to clear up the confusion on where this all stands. Which should
be used going forward?