PySimpleGUI + Python - Sending an Email from your Application

preview_player
Показать описание
In this application, we walk through how to send an email from a simple Python application. In order to do this tutorial, I would recommend using or creating a Gmail account, which was utilized in this tutorial.
Link to Code:
If you see this error:
[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1123)
Go here:

00:00 - Intro
03:20 - Prepping the Email Account
06:55 - Writing in the send_email function
13:03 - SSL Pitfall
15:00 - Connecting GUI to email function
16:42 - Testing out the application
19:47 - Wrap-up

#python #pysimplegui #email
Рекомендации по теме
Комментарии
Автор

Work great!. I had to work around gmail security settings and create a generated password for third party apps thru settings. Since the option to turn off was not there due to gmail upgrade their security settings. Thank you for sharing.

aavalos
visit shbcf.ru