SHARE
TWEET

Untitled

a guest Oct 4th, 2017 162 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import smtplib
  2.  
  3. from email.mime.text import MIMEText
  4.  
  5. msg = MIMEText("Siema co tam")
  6.  
  7.  
  8. msg['Subject'] = 'Elo'
  9. msg['From'] = "elo@wp.pl"
  10. msg['To'] = "dupa1@onet.pl, ziomek@wp.pl"
  11.  
  12. s = smtplib.SMTP('smtp.adres.com')
  13. s.send_message(msg)
  14. s.quit()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top