Answer the question
In order to leave comments, you need to log in
How to set up mail forwarding in rails?
This is a tutorial project
. This is the
second day I've been trying to send an email from rails with a link to reset my password.
The console shows what was sent, but nothing on the mail itself:
Here are my settings:
development.rb
config.action_mailer.delivery_method = :smtp
config.action_mailer.perform_deliveries = true
config.action_mailer.raise_delivery_errors = true
ActionMailer::Base.smtp_settings = {
:address => 'smtp.sendgrid.net',
:port => 465,
:authentication => :plain,
:user_name => '[email protected]',
:password => 'мой пароль',
:domain => 'localhost:3000',
:enable_starttls_auto => true
}
config.action_mailer.default_url_options = { host: 'http://localhost:3000' }
config.action_mailer.asset_host = 'http://localhost:3000'
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question