Displaying 1 result from an estimated 1 matches for "confirmation_mail".
2005 Dec 20
1
Sending mail error
...quot;nbrutyn-dFbg1g76Gw9l57MIdRCFDg@public.gmane.org"
@subject = "Action Required to Activate Account for Twodecode!"
# Email body substitutions go here
@body["first_name"] = user.first_name
@body["last_name"] = user.last_name
end
end
the controller
def confirmation_mail
user = User.find(1)
Notifier::deliver_signup_confirmation(user)
end
signup_confirmation.rhtml
Dear <%= @first_name %> <%= @last_name %>,
Thanks for signing up with My Website!
Your account will allow you to do blah, blah, blah.
can anyone help me?
Thanks.
Nick