Re: [twsocket] RESOLVED:: Problem sending larger attachments

2009-08-31 Thread Arno Garrels
Pete Williams wrote: > Hi All > > Looks my send problem was caused by 2 things: > > - A faulty message pump > - AV software deciding to 'mess up- some sends > > Everything now works! > > The AV software is NOD32 v4. It allows emails to go through > sometimes, and then on other occasions it woul

Re: [twsocket] RESOLVED:: Problem sending larger attachments

2009-08-31 Thread Pete Williams
Hi All Looks my send problem was caused by 2 things: - A faulty message pump - AV software deciding to 'mess up- some sends Everything now works! The AV software is NOD32 v4. It allows emails to go through sometimes, and then on other occasions it would just terminate the connection - for exa

Re: [twsocket] RESOLVED:: Problem sending larger attachments

2009-08-27 Thread Arno Garrels
Pete Williams wrote: > Hi Arno > >>> So there is still another major bug in your code! > > But if you do this to the MailSnd demo, > > {* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * > * * * *} > procedure TSmtpTestForm.SmtpClientDisplay(Sender: TObject; Msg: > String); >

Re: [twsocket] RESOLVED:: Problem sending larger attachments

2009-08-27 Thread Pete Williams
adding the print into the demo seems to do the same thing as a sleep in my app). Pete > From: arno.garr...@gmx.de > To: twsocket@elists.org > Date: Thu, 27 Aug 2009 13:56:16 +0200 > Subject: Re: [twsocket] RESOLVED:: Problem sending larger attachments > > Pete Williams wrote:

Re: [twsocket] RESOLVED:: Problem sending larger attachments

2009-08-27 Thread Arno Garrels
Pete Williams wrote: > I still need a handler on OnDisplay that sleeps for 2 milliseconds, So there is still another major bug in your code! Maybe the ICS event handler are not called in the right thread context? Note that ICS event handler are by default executed in the same thread the ICS objec

Re: [twsocket] RESOLVED:: Problem sending larger attachments

2009-08-27 Thread Pete Williams
Hi Arno Thank you for this - it turns out you were correct. Once my message pump was corrected it worked. I still need a handler on OnDisplay that sleeps for 2 milliseconds, but everything is working reliably now. I've put through a ton of emails this morning and everything has worked out OK.