Sajeev Zacharias
2013-Mar-09 22:21 UTC
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. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/cahR1agmsfEJ. For more options, visit https://groups.google.com/groups/opt_out.
Sajeev Zacharias
2013-Mar-09 22:38 UTC
Re: Rails- Devise- confirmable- confirmation email not received
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-3Q2Tfjf0mexWk0Htik3J/w@public.gmane.org",
:password => "mypass"
}
On Saturday, March 9, 2013 10:21:38 PM UTC, Sajeev Zacharias
wrote:>
> 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.
>
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit
https://groups.google.com/d/msg/rubyonrails-talk/-/ROTP6O41UJcJ.
For more options, visit https://groups.google.com/groups/opt_out.