1👍
✅
Nothing wrong with your code…
Could be that your email has been flagged as spam by other users, or by Google (sending too many? Message content?). Try a different email service? Gmail isn’t really designed for application level email service, but rather to be used by individuals.
I’ve recently switched to MailGun and their free tier has enough capacity. There are other options out there as well.
👤Trik
Source:stackexchange.com