0
votes
    try:
        server = smtplib.SMTP("smtp.gmail.com:587")
        server.ehlo()
    except Exception as t:
        print 'setup failed'
        print t

Gives the 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

1

1 Answers

0
votes

using socks and setting a proxy fixed the issue