CHackbart 13 Posted April 21, 2023 Hi, this might sound stupid, but it has been a while since I touched this particular code. Somehow connect fails gracefully. The old code was working since ages, but the provider (ionos) switched to TLS 1.2. So I changed my code into: POP := TIdPOP3.Create(nil); SSL := TIdSSLIOHandlerSocketOpenSSL.Create(nil); SSL.SSLOptions.Method := sslvTLSv1_2; POP.IOHandler := SSL; //SSL Pop.Port := 995; I use openssl-1.0.2u-i386-win32 for OpenSSL. Does somebody have an idea? Christian Share this post Link to post
Remy Lebeau 1436 Posted April 21, 2023 (edited) 27 minutes ago, CHackbart said: Does somebody have an idea? Port 995 is POP3's implicit-ssl port, so make sure you set the TIdPOP3.UseTLS property to utUseImplicitTLS. Alternatively, you can use POP3's explicit-tls port 587 with UseTLS=utUseExplicitTLS instead. Edited April 21, 2023 by Remy Lebeau 2 Share this post Link to post
CHackbart 13 Posted April 21, 2023 Wow, this was quick. Thanks Pop.UseTLS := utUseImplicitTLS; works 🙂 Christian Share this post Link to post
CHackbart 13 Posted April 26, 2023 (edited) I now get some error messages on certain accounts with "invalid sequence number". I never saw this before. Nevermind I found the problem. Edited April 26, 2023 by CHackbart Share this post Link to post