Hello all,
I am trying to get Devise and Mailer to work together. Whenever I send an email for the "Forget password' section. It says: "You will receive an email with instructions about how to reset your password in a few minutes."
I am trying to send this to my gmail account for testing purposes. After a few minutes, I do not receive any email at all.
So far in /config/environment.rb. I've got the following code:
config.action_mailer.default_url_options = { :host => 'localhost: 3000' } config.action_mailer.delivery_method = :smtp config.action_mailer.smtp_settings = { :enable_startttls_auto => true, :address => 'smtp.gmail.com', :port => '587', :authentication => :plain, :domain => 'myapp.com', :user_name => 'my_actual_email_account@gmail.com', :password => 'my_actual_password' }
Are these settings correct?
Hoping to hear from you soon.