Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sending email to 365 server
#2
(04-22-2020, 06:43 AM)zsleo Wrote: Here is an extract code I am using/testing that keeps returning the error: 'Socket Error # 10060'#$D#$A'Connection timed out.'

The code looks fine to me.

Did you verify with a packet sniffer, like Wireshark, that Indy is actually connecting to port 587, and is attempting to use TLS 1.2? Which version of the OpenSSL DLLs are you using?

On which line of code does the error happen on? What does the call stack look like when the error happens?

How long does it take to time out? TIdSSLIOHandlerSocketOpenSSL does use a 30 second timeout on Windows Vista+ if its ReadTimeout property is <= 0 (which it is by default).

Reply


Messages In This Thread
Sending email to 365 server - by zsleo - 04-22-2020, 06:43 AM
RE: Sending email to 365 server - by rlebeau - 04-22-2020, 05:50 PM
RE: Sending email to 365 server - by zsleo - 04-22-2020, 11:07 PM
RE: Sending email to 365 server - by rlebeau - 04-23-2020, 12:53 AM
RE: Sending email to 365 server - by zsleo - 04-24-2020, 04:21 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)