a guest Feb 19th, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- mailServer = smtplib.SMTP(SMTP_SERVER, SMTP_PORT)
- mailServer.login(FROM_EMAIL, PASSWORD)
- mailServer.sendmail(FROM_EMAIL, finalReciepients, msg.as_string())
- mailServer.close() # Should be mailServer.quit(), but that crashes...
RAW Paste Data