I'm writing a new mailer in an application ( Rails 3.0, Ruby 1.9.3)
While in other applications the body of sent emails show in the development log, in this application they aren't and I can't tell what's different. Can anyone see what I'm doing wrong?
The email parts of my config are below:
require 'tlsmail' require 'openssl' OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE Net::SMTP.enable_tls(OpenSSL::SSL::VERIFY_NONE) ActionMailer::Base.delivery_method = :smtp # Don't care if the mailer can't send config.action_mailer.raise_delivery_errors = false config.action_mailer.perform_deliveries = true
ActionMailer::Base.smtp_settings = { :enable_starttls_auto => true, :address => "smtp.gmail.com", :port => 587, :tls => :true, :domain => "gmail.com", :authentication => "plain", :user_name => "test@gmail.com", :password => "password1" } config.action_mailer.default_url_options = { :host => 'localhost:3000' }
Greg Akins Insomnia Consulting, LLC gakins@insomnia-consulting.org 724 454 7790 (cell) http://www.linkedin.com/company/2942338?trk=tyah