Forum: Ruby on Rails Rails- Devise- confirmable- confirmation email not received

1022486af30e7f981d276fd4947e24e3?d=identicon&s=25 Sajeev Zacharias (sajeevzacharias4)
on 2013-03-09 23:23
(Received via mailing list)
In an application I use devise authentication. I added
confirmable.During
sign up, message is that email has been sent. But email is not received
in
my gmail account. How can I solve this problem. Do I need to add other
options as we do with actionmailer such as gmail port address, or
sendmail
such things. Please help.
1022486af30e7f981d276fd4947e24e3?d=identicon&s=25 Sajeev Zacharias (sajeevzacharias4)
on 2013-03-09 23:39
(Received via mailing list)
I am sorry. I found out. I needed to add the following lines to
config/environments/development.rb

config.action_mailer.delivery_method = :smtp
  config.action_mailer.smtp_settings = {
    :enable_starttls_auto => true,
    :address => "smtp.gmail.com",
    :port => 587,
    :domain => "mydomain.com",
    :authentication => :login,
    :user_name => "myemaiL@mydomain.com",
    :password => "mypass"
  }
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.