Update the following in your account security settingsīy default, Google will block connections from insecure apps. OK fine this is all legitimate but Google discourages it in a few ways that we’ll have to reconfigure. If you’re getting an smtplib.SMTPAuthenticationError you’ll need to configure a few things in your Google account. HOWEVER, there’s a good chance this doesn’t work and you’ll get an email like this. Run the program by typing python send.py in your terminal and with a bit of luck (I’ll explain more below) you should receive an email at the recipient address you plugged in. Make sure to replace the recipients list with a list containing just your email so you can test it out.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |