config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
:port => 587,
:user_name => ENV['GMAIL_USERNAME'],
:password => ENV['GMAIL_PASS'],
:authentication => 'plain',
:enable_starttls_auto => true,
:openssl_verify_mode => "none"
}
Pero no desde el vps en bluehost, aunque le ponga domain: '
midomain.com.ar' en smtp_settings
Testeé el puerto 587 y funciona.
El error es un 535 SMTP AUTH failed.
Vi que debo "autorizar" a nuevos dispositivos y lo hice además que también habilité el acceso a "less secure applications". Pero tampoco me funciona.
Alguien que me tire una ayuda?
El GMAIL_USERNAME Y GMAIL_PASS están bien.
Gracias
--
Emanuel Friedrich
Cel: 3754-442896