I'm trying to use this simple script to send emails but I keep getting this error, can anyone help me out.
Maybe this documentation will help?
Try adding smtp.quit() at the end?
@MocaCDeveloper I already tried that and unfortunately no luck
Have you allowed less secure apps for your gmail account?
click here to learn more.
BTW, in your repl, the email and password does not appear to be even close to real. Make sure they are legitimate keys, and if you need, use a private repl :)
@Coder100 Yea I have a private repl with my actual keys, I just didn't share that one. I have less secure apps allowed. I'm just confused as to why I am still getting these errors.
Still getting this error for me too a year later :(