Does the mailer extension report errors anywhere?
My mail isn't sending and all I see in my production.log is:
Processing SiteController#show_page (for IP at 2009-10-13 12:22:39)
[POST]
Parameters: {"url"=>["contact"], "action"=>"show_page", "mailer"=>
{"city"=>"Plano, TX 75075", "company"=>"Artcrete", "required"=>
{"name"=>"true", "company"=>"true", "city"=>"true",
"streetaddress2"=>"true", "phone"=>"true", "streetaddress"=>"true",
"email"=>"true", "industry"=>"true"}, "name"=>"Ben ",
"TextureTools"=>"", "streetaddress2"=>"", "NewCanvas"=>"",
"phone"=>"
214-404-0000", "message"=>"message", "industry"=>"Architect/
Specifier", "email"=>"
v...@gmail.com", "streetaddress"=>"123
meandering"}, "controller"=>"site"}
Completed in 272ms (DB: 24) | 200 [
http://www.artcrete.com/contact/]
Which seems to be okay.
Also, here are the setting in environment.rb. This was working before,
so I'm not sure where I made a mistake.
ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.smtp_settings = {
:enable_starttls_auto => true,
:address => "
smtp.gmail.com",
:port => 587,
:domain => "
domain.com",
:authentication => :plain,
:user_name => "
us...@domain.com",
:password => "pword"
}
config.action_mailer.perform_deliveries = :true
config.action_mailer.raise_delivery_errors = :true