Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import smtplib
- from email.mime.text import MIMEText
- msg = MIMEText("Siema co tam")
- msg['Subject'] = 'Elo'
- msg['From'] = "elo@wp.pl"
- msg['To'] = "dupa1@onet.pl, ziomek@wp.pl"
- s = smtplib.SMTP('smtp.adres.com')
- s.send_message(msg)
- s.quit()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement