Answer the question
In order to leave comments, you need to log in
Error sending a message via Yandex.Mail?
When I try to request password recovery by mail, I get the following error in the logs:
Net::SMTPFatalError (553 5.7.1 Sender address rejected: not owned by auth user.
config.action_mailer.default_url_options = { host: 'localhost', port: 3000 }
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
tls: true,
address: 'smtp.yandex.ru',
port: 587,
domain: 'yandex.ru',
authentication: 'plain',
user_name: '[email protected]',
password: 'password',
enable_starttls_auto: true
}
class ApplicationMailer < ActionMailer::Base
default from: '[email protected]'
layout 'mailer'
end
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