Python Hotmail Send Script

A python script to send e-mails with the hotmail smtp sever.

Comments: 2

  1. SHASHANK SAHAY May 2, 2016 at 12:48 Reply

    Traceback (most recent call last):
    File “C:\Users\shassaha\Desktop\b.py”, line 9, in
    s = smtplib.SMTP(“smtp.live.com”,587)
    File “C:\Python27\lib\smtplib.py”, line 256, in __init__
    (code, msg) = self.connect(host, port)
    File “C:\Python27\lib\smtplib.py”, line 316, in connect
    self.sock = self._get_socket(host, port, self.timeout)
    File “C:\Python27\lib\smtplib.py”, line 291, in _get_socket
    return socket.create_connection((host, port), timeout)
    File “C:\Python27\lib\socket.py”, line 575, in create_connection
    raise err
    error: [Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

  2. SHASHANK SAHAY May 2, 2016 at 12:49 Reply

    I AM ALWAYS GEtting the above error message. please let me know how to proceed

Leave a Reply

Your email address will not be published. Required fields are marked *

-->