I'm trying to configure Zoho mail smtp and i don't understand what do i do wrong. In development mode everything is ok but in production i have the error below when i send email:
Net::SMTPAuthenticationError: 530 5.5.1 Authentication Required.
My production env settings:
config.action_mailer.delivery_method = :smtp
config.action_mailer.default_url_options = { host: 'not-real.com' }
config.action_mailer.smtp_settings = {
port: 465,
ssl: true,
tls: true,
authentication: :login,
address: 'smtp.zoho.eu',
domain: 'not-real.com',
enable_starttls_auto: true,
password: ENV['ZOHO_PASSWORD'],
user_name: ENV['ZOHO_USER_NAME']
}
First at all i thought the problem in wrong password or user_name but not. Next i checked domain in Zoho Control Panel ---> Domains but everything is ok. In Zoho SMTP Server Configuration says:
Outgoing Server Name: smtp.zoho.eu
Port: 465
Security Type: SSL
Require Authentication: Yes.
But could you please tell me what does this mean? -> Require Authentication: Yes.
Should i change something in Zoho settings?