Skip to content

Latest commit

 

History

History
64 lines (27 loc) · 1.41 KB

File metadata and controls

64 lines (27 loc) · 1.41 KB

python_smtp

Sending email with python via smtp protocol

Files

"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".

Important Warning

The necessary settings of the e-mail address must be set up. Otherwise, you may have problems sending e-mail.

Setting up for Gmail

[1]

n1

[2]

n2

[3]

n3

Screenshots of the Code in Operation

[1]

z2

[2]

z1

[3]

n5

[4]

n6