> Now I have problems with SMTP, it worked like a charm with the previous 
> version of Ubuntu, but now I get:
> 
> 20170608-074744.883 7FFFEFAE6630HR_Error: -2,error:140770FC:SSL 
> routines:SSL23_GET_SERVER_HELLO:unknown protocol

You are trying to start TLS on nonencrypted server, or server using 
unsupported encryption.

>       if (SMTPHost ='587') then begin 
>            SMTP.AutoTLS := True ;
>            SMTP.FullSSL := false;
>       end else begin
>            SMTP.AutoTLS := false;
>            SMTP.FullSSL := True ;
>       end;

If you are connecting to standard port 25, then you are enabling 
FullSSL? It is error.

Right will be:

25 and 587 - AutoTLS
465 - fullSSL

Or better, let user to select encryption mode independently to allow 
non-standard configurations.

-- 
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

Reply via email to