Heroku not sending email with Gmail SMTP

You have to check two important things when you want to send emails via Gmail smtp:

  1. Your apps configuration:

    • host: smtp.gmail.com
    • port: 587 or 465 (587 for tls, 465 for ssl)
    • protocol: tls or ssl
    • user: [email protected]
    • password: YOUR_PASSWORD
  2. The given Gmail account settings:

Leave a Comment