Neal Barnett wrote:
> Arno -
> 
>> or
>> Encrypted Connection: SSL
>> Port: 465
> 
>>> This is commonly SSL-type "Implicit (TLS Connection)".
>>> The difference between Implicit and Explicit is that Implicit
>>> establishes 
> a secure SSL/TLS connection and Explicit starts with a plain text
>>> connection that is turned into a secure connection later when the
>>> client sends the "STARTTLS" command. 
> 
> So, how would I use this method "Implicit (TLS Connection)" in
> TSmtpCli? 
> 
>> For example, if I wish to send using:
>> Encrypted Connection: TLS
>> Port: 587
> 
>>> That port can be used if the ISP has blocked SMTP port #25 and the
> mailserver services port #587 as well. Such as
>>> smtp.googlemail.com.  The SSL-type on that port is commonly
>>> "Explicit (STARTTLS)". 
> 
> And how would I use this method in TSmtpCli?

Instead of TSmtpCli you have to use TSslSmtpCli plus a linked 
TSslContext. Take a look at the OverbyteIcsSslMailSnd sample in
ICS sub directory SslInternet, get a free GMail account and play
with the demo. And don't forget to download the OpenSSL libraries
from http://wiki.overbyte.be/wiki/index.php/ICS_Download.

-- 
Arno Garrels
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to