On Tue, Aug 18, 2009 at 4:00 PM, Lukas Gebauer <gebyl...@mlp.cz> wrote:
> > 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.
>
>
Thanks for your help Lukas.
This does seem counter-intuitive to me though.
I thought the SMTP server parsed the CC list and sent the e-mails to the
appropriate recipients.
I thought it would do this to avoid needing to send the attachments multiple
times.
The RFC spec I was reading lists the CC as one of the inputs with a list of
addresses.
Synapse populates the CClist as specified by the RFC.
Would I be right in determining that the CClsit is only for information
purposes and doesn't have any impact on who the e-mail goes to?
Thanks,
Craig.
------------------------------------------------------------------------------
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
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public