Иван Тонев wrote:
> Hi,
>
> I'd like to send HTML emails with attached images (just what
> THtmlSmtpCli is for) but to a SSL/TLS SMTP server (GMail actually).
> Is there a SSL enabled version of THtmlSmtpCli
No, however you could try to change (OverbyteIcs)SmtpProt.pas
like below and the rebuild the ICS packages (untested).
{$IFDEF USE_SSL}
THtmlSmtpCli = class(TSslSmtpCli)
{$ELSE}
THtmlSmtpCli = class(TSmtpCli)
{$ENDIF}
> or is there a way to
> accomplish this task with TSslSmtpCli somehow?
Of course you can, not very effective though. Prebuild the email
and send it with propertie OwnHeaders = TRUE, look at the event
OnGetData.
--
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