Xavier Mor-Mur wrote:
> Currently I'm using HtmlSmtpClient and planing update to SslSmtClient.
> 
> After a look on SsslSmtpClient properties:
> 
> html client : HtmlText, PlainText, MailMessage, EmailFiles and
> EmailImages ssl client : MailMessage and EmailFiles

Unfortunately there doesn't exist a TSslHtmlSmtpCli out of the box.
However with a simple change to OverbyteIcsSmtpProt.pas it's possible
to add SSL support to THtmlSmtpCli:   

{code}
{$IFDEF USE_SSL}
    THtmlSmtpCli = class(TSslSmtpCli)
{$ELSE}
    THtmlSmtpCli = class(TSmtpCli)
{$ENDIF} 
{code}

After the change rebuild ICS runtime and designtime packages.
Note that Object Inspector will always show the SSL properties and
events, however they are usable only if "USE_SSL" is actually defined
in your project's options under conditional defines, a bit confusing,
however works.

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