Re: [twsocket] TSmtpCli - How do I process multiple emailsusingthiscomponent?

2008-07-29 Thread Francois Piette
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

Re: [twsocket] TSmtpCli - How do I process multiple emails usingthiscomponent?

2008-07-29 Thread Fredrik Larsson
Well something like this exists in my code. Some functions are my own but I think you get the picture. procedure TLCInheritSMTPDM.SmtpRequestDone(Sender: TObject; RqType: TSmtpRequest; ErrorCode: Word); begin if (error 0) then begin logMsg('Service Error occured

Re: [twsocket] TSmtpCli - How do I process multipleemailsusingthiscomponent?

2008-07-29 Thread SoftTech
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

Re: [twsocket] TSmtpCli - How do I process multipleemails usingthiscomponent?

2008-07-29 Thread SoftTech
Greetings Fredrick, Are you using the TSmtpCli or TSyncSmtpCli component? You look to be processing mass e-mails, but where to you set the from, to, subject and MailMessage properties? I appreciate any additional information you can provide. Thanks, Mike - Original Message - From:

Re: [twsocket] TSmtpCli - How do I process multipleemailsusingthiscomponent?

2008-07-29 Thread Fredrik Larsson
Mike, If you read my posting you will see how to implement the RequestDone event. It's also explained in the wiki at http://wiki.overbyte.be/wiki/index.php/TSmtpCli.OnRequestDone There is a line of code where you re-populate the fields (subject, recips et.c.) and this is where you would read

Re: [twsocket] TSmtpCli - How do I processmultipleemailsusingthiscomponent?

2008-07-29 Thread Francois Piette
Sorry, I dericted you to the wrong code. Forget it. -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be - Original Message - From: SoftTech [EMAIL PROTECTED] To: ICS support mailing

Re: [twsocket] TSmtpCli - How do Iprocess multipleemailsusingthiscomponent?

2008-07-29 Thread SoftTech
Hi Fredrick, Sorry, I have somehow skipped over your comment //generate email to send here, set all values et.c. when reading your prior post. I was not aware of the wiki although I probably should have been as I have looked at other links on the website. I will give this a go and see what

[twsocket] Problem on STOR Command

2008-07-29 Thread Arnold FLUTEAUX
Hi, I've a problem with several FTP clients on a STOR command in activ mode. I've this message: 501 Cannot STOR. Cannot change Port if not closed With the same configuration, on others computers, it's ok. Have you an idea, please ? This is my log file: 002 - 22/07/2008 18:31:46 -

Re: [twsocket] Problem on STOR Command

2008-07-29 Thread Angus Robertson - Magenta Systems Ltd
I've this message: 501 Cannot STOR. Cannot change Port if not closed This is my log file: 002 - 22/07/2008 18:31:46 - 80.125.173.55 - LIST 002 - 22/07/2008 18:31:46 - 80.125.173.55 - 150 Opening data connection for directory list. The LIST command has not finished, the data connection