Rails- Devise- confirmable- confirmation email not received

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.

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 => “[email protected]”,
:password => “mypass”
}

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs