Displaying 1 result from an estimated 1 matches for "mytransact".
Did you mean:
transact
2006 Feb 28
0
Help: Script isn''t sending any email
...ToSendEmailsWithActionMailer
However, the script is dying because it says that the <%= first_name %>
value in my notifier view is nil.
here is my code:
Controller code (abridged):
def signup
userid = @session[:user].id
@user = User.find(userid)
@bill = Billing.find(userid)
@transaction = MyTransaction.new
## ....save some stuff to both billing and transaction ....
if ((@bill.save) && (@transaction.save))
Notifier::deliver_transaction_receipt_email(@user, @bill, @transaction)
end
end
Notifier model code:
def transaction_receipt_email( user, bill, transaction )
# Email header inf...