Sending email with python via smtp protocol
"SMTP_Email.py" ==> The file containing the required classes. There are "Add_File" and "SMTP_Email" classes in the file. Thanks to these classes, e-mail can be sent easily.
"main.py" ==> Includes an example showing how to use the classes in the file named "SMTP_Email.py".
The necessary settings of the e-mail address must be set up. Otherwise, you may have problems sending e-mail.
[1]
[2]
[3]
[1]
[2]
[3]
[4]