a guest Oct 4th, 2017 162 Never
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'] = "firstname.lastname@example.org"
- msg['To'] = "email@example.com, firstname.lastname@example.org"
- s = smtplib.SMTP('smtp.adres.com')
RAW Paste Data