[twsocket] Using lots of TSmtpCli in a single application

2009-08-16 Thread Pete Williams
Hi I've used ICS components for a while now and had great results. I have something new to do and wanted some advice before starting a new project. Previously my app used a single TSmtpCli and this all worked fine. Now however I have to send mail on behalf of lots of accounts and the number

Re: [twsocket] Using lots of TSmtpCli in a single application

2009-08-16 Thread Dod
Hello Pete, 200 mails per hour is really not much, a single thread can do much more. But you may be slowed by the other side smtp server if it is slow or timeout. So doing multi-thread is a good way to maintain a good average speed. You can create 20 threads with a common queue

Re: [twsocket] Using lots of TSmtpCli in a single application

2009-08-16 Thread Arno Garrels
Pete Williams wrote: Hi I've used ICS components for a while now and had great results. I have something new to do and wanted some advice before starting a new project. Previously my app used a single TSmtpCli and this all worked fine. Now however I have to send mail on behalf of lots