vendredi 28 juin 2019

Net::SMTPAuthenticationError (535 5.7.3 Authentication unsuccessful [PN1PR01CA0089.INDPRD01.PROD.OUTLOOK.COM] )

I have tested the the account using my mail client and everything seems to be working fine, but when I try to send through my Rails 4 app I get the error:

config.action_mailer.smtp_settings = {
address: "smtp.live.com",
port: 587,
domain: Rails.application.secrets.domain_name,
authentication: "login",
enable_starttls_auto: true,

#tls: true,
user_name: Rails.application.secrets.email_provider_username,
password: Rails.application.secrets.email_provider_password,
openssl_verify_mode: 'none'}

Aucun commentaire:

Enregistrer un commentaire