Advertisement
Guest User

Untitled

a guest
Aug 18th, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. s = smtplib.SMTP(email_user, 587)
  2. s.starttls()
  3. s.login(email_user, pasword)
  4. message = 'Hi There, sending this email from python'
  5. s.sendmail(email_user, email_user, message)
  6. s.quit()
  7.  
  8. for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
  9. socket.gaierror: [Errno 11003] getaddrinfo failed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement