> imap.FullSSL:=true; > imap.AutoTLS:=true; Never use both options at same time!
AutoTLS connect to standard IMAP port 143, and then it turn on encryption by special IMAP protocol command. It is called as explicit encryption. FullSSL using impicit encryption. It create encrypted connection from the beginning. Because It cannot talk by standard unencrypted protocol commands, it must connect to different TCP port 993. Buth modes cannot be mixed. Use one or second, depending on your server. If is still failed, then see what says imap.sock.lasterror, imap.sock.lasterrordesc, imap.sock.ssl.lasterror and imap.sock.ssl.lasterrordesc. You can use synadbg.pas unit for detailed communication log too. -- Lukas Gebauer. http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib. http://geoget.ararat.cz/ - Geocaching solution ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ synalist-public mailing list synalist-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synalist-public