search for: deliver_transaction_receipt_email

Displaying 1 result from an estimated 1 matches for "deliver_transaction_receipt_email".

2006 Feb 28
0
Help: Script isn''t sending any email
...il. 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 info MUST be added here @recipients = user.email @from = "billing@mywebsite.com" @subject = "Thank you for your payment" # Email body su...