I found a problem with it. Older version worked fine.
The server issues:
571 impout002 charter.net OTQuMjUzLjI0My4zNQ== You must connect from Charter IP space. E1110
But IdSMTP raises an exception:
Project Project1.exe raised exception class EIdSMTPReplyError with message 'impout003 charter.net OTQuMjUzLjI0My4zNQ== You must connect from Charter IP space. E1110'.
There is also problem connecting to:
Project Project1.exe raised exception class EIdSocketError with message 'Socket Error # 10060 Connection timed out.'.
But it is NOT socket error nor firewall. Older version of Indy connects fine using exact same settings above (587 + implicit TLS).
Older version of Indy (5373) works fine for both of the above settings... So not sure what changed in the meantime in IdSMTP.
maybe this line:
FExplicitTLSProtPort := 587; // TODO: define a constant for this!
In above connection 587 is implicit port (it is non-standardl but that's how Charter have it set up and until recently it connected well using older TIdSMTP).
Code:
IdSMTP1->Host = "smtp.charter.net";
IdSMTP1->Port = 25;
IdSMTP1->Connect();
The server issues:
571 impout002 charter.net OTQuMjUzLjI0My4zNQ== You must connect from Charter IP space. E1110
But IdSMTP raises an exception:
Project Project1.exe raised exception class EIdSMTPReplyError with message 'impout003 charter.net OTQuMjUzLjI0My4zNQ== You must connect from Charter IP space. E1110'.
There is also problem connecting to:
Code:
IdSMTP1->Host = "mobile.charter.net";
IdSMTP1->Port = 587;
IdSMTP1->UseTLS = utUseImplicitTLS;
IdSMTP1->Connect();
Project Project1.exe raised exception class EIdSocketError with message 'Socket Error # 10060 Connection timed out.'.
But it is NOT socket error nor firewall. Older version of Indy connects fine using exact same settings above (587 + implicit TLS).
Older version of Indy (5373) works fine for both of the above settings... So not sure what changed in the meantime in IdSMTP.
maybe this line:
FExplicitTLSProtPort := 587; // TODO: define a constant for this!
In above connection 587 is implicit port (it is non-standardl but that's how Charter have it set up and until recently it connected well using older TIdSMTP).