Use this code:
1 2 3 4 5 6 7 8 9 10 11 12 | default :from => "noreply@domain.com" config.action_mailer.delivery_method = :smtp config.action_mailer.smtp_settings = { :address => "smtp.domain.com", :port => 25, :domain => "domain.com", :user_name => "noreply@domain.com", :password => "password here", :authentication => :login, :enable_starttls_auto => false, :openssl_verify_mode => 'none' } |