Displaying 1 result from an estimated 1 matches for "customermail".
Did you mean:
customer_email
2007 Nov 17
2
ActionMailer 501: sender address must contain a domain
...bject = ''Sign up verification''
@body["customer"] = customer
@recipients = customer.email
@from = ''SilverSky''
@sent_on = Time.now
end
def send_mail
customer = Customer.find_by_firstname("erkan1")
email = CustomerMailer.create_confirm(customer)
email.set_content_type("text/html")
if CustomerMailer.deliver(email)
render(:text => "Thank you" )
end
[/code]
Any help would be greatly appreciated! This is getting me down!
--
Posted via http://www.ruby-forum.com/.
--~--~---------...