Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

easy sending email python

import smtplib

my_email = "testingemail@gmail.com"
password = "mypw123"

connection = smtplib.SMTP("smtp.gmail.com",587)
connection.starttls()
connection.login(user=my_email, password=password)
connection.sendmail(from_addr=my_email,to_addrs="receipentemail@yahoo.com", msg="Hello World")
connection.close()
Source by al-taie.github.io #
 
PREVIOUS NEXT
Tagged: #easy #sending #email #python
ADD COMMENT
Topic
Name
1+9 =