Send an email : Email : Network PYTHON examples


PYTHON examples » Network » Email »

 

Send an email


 


import smtplib
server = smtplib.SMTP('localhost')
server.sendmail('name@website.org', 'anothername@web.org',
"""To: name@website.org
From: anothername@web.org

Beware the Ides of March.
""")
server.quit()

           
         
  



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON examples

 Navioo Network
» Email