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

2009-08-16 Thread Angus Robertson - Magenta Systems Ltd
> Also if a MX refuse you because of some blacklist then remove > thoses mails from the queue and send you a mail alert so you can > investigate why destination refused your mail. It's important not to fail an email on a first refusal, due to the wide usage of 'greylisting' where the SMTP ser

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

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

[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