How to fix Traceback (most recent call last):
File "C:\Program
Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\socket.py",
line 833, in create_connection
sock.connect(sa)
TimeoutError: [WinError 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
File "C:\Users\i9shu\Downloads\python email bot\email bot.py",
line 25,
in <module>
server = smtplib.SMTP('smtp.gmail.com',2525)
I'd say GMail are rudely dropping traffic to port 2525. Maybe try just
25,
the normal SMTP port?
On Mon, 24 Oct 2022 10:02:10 +1100, Cameron Simpson wrote:
I'd say GMail are rudely dropping traffic to port 2525. Maybe try
just 25, the normal SMTP port?
2525 is an alternative to 587, the standard TLS port.
25 and 587 work.
On Mon, 24 Oct 2022 10:02:10 +1100, Cameron Simpson wrote:
I'd say GMail are rudely dropping traffic to port 2525. Maybe try just
25,
the normal SMTP port?
2525 is an alternative to 587, the standard TLS port.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 300 |
Nodes: | 16 (2 / 14) |
Uptime: | 66:15:56 |
Calls: | 6,712 |
Files: | 12,244 |
Messages: | 5,356,311 |