Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

email authentication python

import smtplib

server = smtplib.SMTP_SSL('smtp.gmail.com', 465)
server.login("your username", "your password")
server.sendmail(
  "from@address.com", 
  "to@address.com", 
  "this message is from python")
server.quit()
Source by www.afternerd.com #
 
PREVIOUS NEXT
Tagged: #email #authentication #python
ADD COMMENT
Topic
Name
9+1 =