Re: [twsocket] How to use many TSmtpCli's inside thread ?

2009-08-18 Thread Max Terentiev
Use TSslSmtpCli and call the async methods. Your threads must also implement a message pump or simply call the ICS, built-in, message pump instead (TSslSmtpCli.CtrlSocket.MessageLoop). But how to implement message pump if I create many TSmtpCli inside TThread ? I must implement loop like this

Re: [twsocket] How to use many TSmtpCli's inside thread ?

2009-08-18 Thread Arno Garrels
Max Terentiev wrote: > Hi, Hi, > It's possible to use multiple TSmtpCli inside single TThread ? Yes. > For example, I want to handle 100 connections using 5 TThreads. > Each TThread should contain 20 TStmpCli's. > > Is it's possible ? No problem, however you should consider to use just as m

[twsocket] How to use many TSmtpCli's inside thread ?

2009-08-18 Thread Max Terentiev
Hi, It's possible to use multiple TSmtpCli inside single TThread ? For example, I want to handle 100 connections using 5 TThreads. Each TThread should contain 20 TStmpCli's. Is it's possible ? I must use T(ssl)SmtpCli or TSYNCSmtpCli ? --- With best regards, Max Terentiev. Business Software Pr

Re: [twsocket] Is TSslSmtpCli support async non-blocking mode ?

2009-08-18 Thread Arno Garrels
Max Terentiev wrote: > Hi, > > Does TSslSmtpCli supports non-blocking mode ? Yes! > > I ask because TSslSmtpCli = class(TSyncSmtpCli) > > So, it's should works only in Sync (blocking) mode ? No, it just provides the sync methods as well. -- Arno Garrels -- To unsubscribe or change your s

[twsocket] Is TSslSmtpCli support async non-blocking mode ?

2009-08-18 Thread Max Terentiev
Hi, Does TSslSmtpCli supports non-blocking mode ? I ask because TSslSmtpCli = class(TSyncSmtpCli) So, it's should works only in Sync (blocking) mode ? --- With best regards, Max Terentiev. Business Software Products. AMS Development Team. supp...@bspdev.com -- To unsubscribe or change your se

Re: [twsocket] TSslPopCl

2009-08-18 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote: >> I need to download emails from GMail. > > Gmail supports 'SSL/TLS connection' for pop.gmail.com (port 995), you > may need enable POP3 access via the control panel and add 'recent:' > in front of the login username, to get POP3 to work correctly. Th

Re: [twsocket] TSslPopCl

2009-08-18 Thread Angus Robertson - Magenta Systems Ltd
> I need to download emails from GMail. Gmail supports 'SSL/TLS connection' for pop.gmail.com (port 995), you may need enable POP3 access via the control panel and add 'recent:' in front of the login username, to get POP3 to work correctly. You can test all this MailMaint from http://www.mags

Re: [twsocket] TSslPopCl

2009-08-18 Thread Arno Garrels
Arno Garrels wrote: > Also I recommend to upgrade to ICS V7, Forgot to mention that ICS V7 applications require NT4 or later, they won't no longer run on 9x/Me. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailma

Re: [twsocket] TSslPopCl

2009-08-18 Thread Arno Garrels
Jon Grewer wrote: > 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 don