Forum: Ruby on Rails ActionMailer : Not able to send out mails

7aa75886a1b8e2a1b152b676096e54e6?d=identicon&s=25 Shashank (Guest)
on 2011-04-22 20:51
(Received via mailing list)

I have the following code in my environment/development.rb

  config.action_mailer.raise_delivery_errors = true;
  config.action_mailer.delivery_method = :smtp;
  config.action_mailer.smtp_settings = {

  :address => "",
  :port => 587,
  :user_name => "",
  :password => "secret",
  :authentication => :plain,
  :enable_starttls_auto => true,
  :domain => "localhost",

An email is being generated by the call to the mailer model from one
of my controllers. However, i am not able to send or receive any
emails on gmail.

I am on ruby 1.8.7, rails 2.3.5.
There are no exceptions, just that no emails are being exchanged
between the actual mail servers.

Being quite new to mailer, sorry for any rookie questions.

Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.