Hi,
I’ve sent e-mails with action mailer in other controllers.
Now I’m repeating the same trick to send emails.
I have
def bt_notify( bt )
@recipients = bt.product.user
@body[“product”]=bt.product
@body[“bt”]=bt
@from = “[email protected]”
@subject = “blahblah”
end
in my mailer.rb
and
Mailer.deliver_bt_notify(@bt)
in the controller
finally the bt_notify.rhtml
By PickIt
And when mailer.deliver_bt_notify is executed, it got the error as
title.
Anyone knows what’s wrong?
THanks
Abon