Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- s = smtplib.SMTP(email_user, 587)
- s.starttls()
- s.login(email_user, pasword)
- message = 'Hi There, sending this email from python'
- s.sendmail(email_user, email_user, message)
- s.quit()
- for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
- socket.gaierror: [Errno 11003] getaddrinfo failed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement