> if not smtp.MailTo(sTo) then
> begin
> AddToLog(log, 'SMTP ERROR: MailTo:' + smtp.EnhCodeString, True);
> raise ESMTP.Create('SMTP ERROR: MailTo:' + smtp.EnhCodeString);
> end;
And about CC - you must call MailTo in loop for all recepients addresses.
One call for one address.
--
Lukas Gebauer.
E-mail: [email protected]
WEB: http://www.ararat.cz/synapse - Synapse Delphi and Kylix TCP/IP
Library
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public