Hi Francois, You say that the OnRequestDone event is the correct place to process mass e-mails using the TSmtpCli component and then direct me towards the v5 ICS MailRob source. I have looked at this source and there is no OnRequestDone source, but I do see that this source uses a TSyncSmtpCli component and that SendButtonClick event source contains what looks to be a way to send multiple emails using "SmtpClient.OpenSync;" instead of "SmtpClient.Open;"
So can I gather that I should be using a TSyncSmtpCli component (using the SendButtonClick event source as a guide) instead of the TSmtpCli component using some form of coding in the onRequestDone event? I await you guidance. Thanks, Mike ----- Original Message ----- From: "Francois Piette" <[EMAIL PROTECTED]> To: "ICS support mailing" <twsocket@elists.org> Sent: Tuesday, July 29, 2008 2:02 AM Subject: Re: [twsocket] TSmtpCli - How do I process multipleemailsusingthiscomponent? >> Thanks for your reply. I have looked at the article and am guessing the >> best place to loop thru a database to send out mass e-mail would be in >> the >> OnRequestDone event. Would that be correct? > > Yes, it is. > >> Does anyone have any code they >> can share of this event to show how they processed records in a database? > > Have a look at ICS-V5 "MailRob" demo program. It is very old and quite > unknown but contains useful code for you. > > -- > [EMAIL PROTECTED] > Author of ICS (Internet Component Suite, freeware) > Author of MidWare (Multi-tier framework, freeware) > http://www.overbyte.be -- 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