Sending emails through smtp.gmail.com

I just wanted to post an answer to a question I had a few months ago about using smtp.gmail.com. I couldn’t get it to work and the reasons were that it required STARTTLS (not TLS that I tried), and username and app password (not username and password that I used). In case it helps anyone. I also had a difficulty navigating the google docs to find if I could and how to generate an app password, so here’s the link, Sign in with app passwords - Google Account Help

1 Like