[twsocket] TSslPopCl

2009-08-17 Thread Jon Grewer
Hey everyone, Got the OverbyteIcsSslMailSnd demo to work with gmail. Now need to get SslPopCli to work. Unfortunately OverbyteIcsV6_RC1.zip does not seem to contain an equivalent OverbyteIcsSslMailRcv demo and I am not that experienced writing email programs. I need to download emails from GMai

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

2009-08-17 Thread Dod
Hello Angus, You are true, I made a mistake talking about "multiple threads", I meant multiple components in a single thread with a thread dedicated to the smtp component's so it is separated from the main GUI thread so the visual interface (if any) should be always responsive whenever the s

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

2009-08-17 Thread Angus Robertson - Magenta Systems Ltd
> The application I'm working on is 9 years old, has many thousands > of man hours spent on it, and whilst it would be nice to have a > single TSmtpCli, in order to avoid a massive code rewrite it's much > easier for me to have lots of TSnmpCli components, rather than one > (you can't see it, b

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

2009-08-17 Thread Pete Williams
This is a really useful thing for me to know, thanks for posting this. > This is the correct way of handling. As per the RFC, error codes win > the 400 range are "transient errors", meaning that they are temporary, > and the sender should retry eventually; while codes in the 500 range > a

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

2009-08-17 Thread Pete Williams
Thanks for all the messages! Some useful things for me to know. My question wasn't about email volume as such, but simply about having lots of TSmtpCli components active at any one time, even if they are not doing anything. The application I'm working on is 9 years old, has many thousands of ma

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

2009-08-17 Thread DZ-Jay
On Aug 17, 2009, at 04:45, Dod wrote: I usually do it according to fail code 5.x.x or 4.x.x for 4.x.x I retry later, for 5.x.x I pout them appart to check manually why they have been rejected. This is the correct way of handling. As per the RFC, error codes win the 400 range are "tr

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

2009-08-17 Thread DZ-Jay
On Aug 16, 2009, at 14:43, Pete Williams wrote: 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 of TsmtpCli components in use simultaneously, used in a multi threaded application, could be in exc

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

2009-08-17 Thread Dod
Hello Angus, I usually do it according to fail code 5.x.x or 4.x.x for 4.x.x I retry later, for 5.x.x I pout them appart to check manually why they have been rejected. regards. >> Also if a MX refuse you because of some blacklist then remove >> thoses mails from the queue and send you