Reputation: 1
I have made a website using Node.js which will send mail when it is triggered. It was working fine while running it on my localhost. I deployed it to Heroku and my website is working fine but mails are not being sent.
I even turned on the access to low-secure-apps also.
Upvotes: 0
Views: 61
Reputation: 137268
I even turned on the access to low-secure-apps also
I guess you're talking about Gmail here, since there's a "less secure apps" feature in Gmail?
Gmail is designed for interactive, personal use, not for programmatic use. I strongly urge you to switch to a service that's better suited to this task like SendGrid or Mailgun. Heroku addons exist for these, and other, email providers.
Upvotes: 1