For the record, I''m upgrading from 2.0.2
ActionMailer works great on 2.0.2.
I have a thank you email that I want sent as multipart mime so I have
thanks.text.plain.erb
and
thanks.text.html.erb
Then in my ActionMailer::Base subclass I have
def thanks(order)
recipients order.emailAddress
from "Us
<do-not-reply-1jTbttDhhx1GBRGhe+f61g@public.gmane.org>"
headers "Reply-to" =>
"do-not-reply-1jTbttDhhx1GBRGhe+f61g@public.gmane.org"
subject "Thanks for your order"
sent_on Time.now
tickets = order.purchaseTransaction.tickets
body :first_name => order.nameFirst,:quantity =>
tickets.size, :amount => "$#
{order.purchaseTransaction.payment.amount.to_money}", :order_number =>
order.id, :ticket_date => tickets.first.validForDate, :order => order
end
I get a single email message with a mime type of text/plain and the
contents actually created from the thanks.text.html.erb. Looks like
crap. Why in the world was this lovely bit of solid bullet proof
functionality messed with at all and how do I get it working again?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---