Re: [twsocket] Correct shutdown/abort procedure

2010-05-13 Thread Pete Williams
twsocket] Correct shutdown/abort procedure > > Pete Williams wrote: > > > At any point, an account may be requested to stop. > > > > What is the correct way to say to these 2 components 'stop whatever > > you are doing, clean up and quit'? >

[twsocket] Correct shutdown/abort procedure

2010-05-13 Thread Pete Williams
Hi all I use TsmtpCli and TPop3Cli, and am not shutting these down correctly, and would like some advice on how to stop these components. Here's the problem. These components work reliably on a thread where there are many other such components, reading and writing user email. Each account on

[twsocket] I keep tripping the same POP3 Client Exception

2009-10-01 Thread Pete Williams
Hi In response to a 'Stat' command, TPOP3Cli sometimes raises this exception: procedure TCustomPop3Cli.StartTransaction( OpCode : String; Params : String; RqType : TPop3Request; NextState : TPop3ProtocolState; { Next protocol state in case of success} DoneTr

[twsocket] Inline attachments

2009-09-02 Thread Pete Williams
Hi all I know there are such things as Inline attachments. My question is how on earth do I get an email app to generate them so I can test? Thunderbird and Outlook Express seem to process drag and drop as 'regular' attachments. Any help appreciated. Pete

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 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 Pete Williams
ut OK. I'll make sure my message pump code is OK from here onwards. Thanks a lot, Pete > From: arno.garr...@gmx.de > To: twsocket@elists.org > Date: Thu, 27 Aug 2009 08:41:12 +0200 > Subject: Re: [twsocket] Problem sending larger attachments > > Pete Williams wrote: >

Re: [twsocket] Problem sending larger attachments

2009-08-26 Thread Pete Williams
x27;s OK to put this component on a data module? Thanks, > From: arno.garr...@gmx.de > To: twsocket@elists.org > Date: Wed, 26 Aug 2009 21:09:12 +0200 > Subject: Re: [twsocket] Problem sending larger attachments > > Pete Williams wrote: > > Hi Arno > > > > One

Re: [twsocket] Problem sending larger attachments

2009-08-26 Thread Pete Williams
Damn, all the formatting disappeared. If you want me to post as an attachment let me know. > From: pxc...@hotmail.com > To: twsocket@elists.org > Date: Wed, 26 Aug 2009 18:02:42 + > Subject: Re: [twsocket] Problem sending larger attachments > > > Hi Arno > > One other thing... _

Re: [twsocket] Problem sending larger attachments

2009-08-26 Thread Pete Williams
Hi Arno One other thing: - The ICS code is running in a COM component that is running within a Server powered by RTC (realthinclient.com). - RTC does an awful lot of similar things to ICS (uses winsock etc), except that it does not have an SMTP component. - Is it possible that ICS and RTC are

Re: [twsocket] Problem sending larger attachments

2009-08-26 Thread Pete Williams
Hi I Have some more information about this. I'm using D4 (not D2009 as I posted before, it had been a long day. Here's a recap, and some debug info: - MailSnd words just fine in D4 and has no problem - Unlike mailsnd, my app is running in a thread. The thread has a message pump, and like I sa

Re: [twsocket] Problem sending larger attachments

2009-08-24 Thread Pete Williams
@elists.org > Date: Mon, 24 Aug 2009 12:37:38 +0200 > Subject: Re: [twsocket] Problem sending larger attachments > > Pete Williams wrote: > > > Let me try these things & then report back. > > When you test (big) file attachments with MailSnd demo > unassign eve

Re: [twsocket] Problem sending larger attachments

2009-08-23 Thread Pete Williams
Thanks a lot Let me try these things & then report back. > From: arno.garr...@gmx.de > To: twsocket@elists.org > Date: Sun, 23 Aug 2009 16:20:11 +0200 > Subject: Re: [twsocket] Problem sending larger attachments > > Pete Williams wrote: > > Hi there > > Hi,

Re: [twsocket] Problem sending larger attachments

2009-08-23 Thread Pete Williams
twsocket] Problem sending larger attachments > > Pete Williams wrote: > > Hi > > > > Any ideas how I solve or problem solve this? > > > > Using Thunderbird I can send 5MB+ emails to myself. > > > > Using TSMTPCli I can send something like 1.5MB,

Re: [twsocket] Problem sending larger attachments

2009-08-23 Thread Pete Williams
0200 > Subject: Re: [twsocket] Problem sending larger attachments > > Pete Williams wrote: > > Hi > > > > Any ideas how I solve or problem solve this? > > > > Using Thunderbird I can send 5MB+ emails to myself. > > > > Using TSMTPCli I can send s

[twsocket] Problem sending larger attachments

2009-08-23 Thread Pete Williams
Hi Any ideas how I solve or problem solve this? Using Thunderbird I can send 5MB+ emails to myself. Using TSMTPCli I can send something like 1.5MB, but nothing bigger. The SMTP server does not report any error - the email just does not arrive. Any ideas why this would be? The SMTP server is t

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

[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] I need some help understanding TWsocket states

2007-11-28 Thread Pete Williams
Wilfried you are a total star. If you are ever in Edinburgh I'll buy you a cake (or a whisky) or whatever. That works! Wilfried Mestdagh wrote: > Hello Pete, > > >>mytwsocket.addr := '127.0.0.1'; >>mytwsocket.port := '17072'; >>mytwsocket.connect(); >> > > that's

Re: [twsocket] I need some help understanding TWsocket states

2007-11-28 Thread Pete Williams
I don't mind checking simple stuff. I'm desperate, as I have a deadline for Saturday! It is definately connected & hooked-up. Nothing is over-writing it. [EMAIL PROTECTED] wrote: > Hello: >This may sound stupid, but could you verify that > the OnSessionAvailable event is actually wired > (as

Re: [twsocket] I need some help understanding TWsocket states

2007-11-28 Thread Pete Williams
>> myserver.OnsessionAvailable >> begin >> myserversocket.dup(myserversocket.accept()); >> end; >> > > Better to use TWSocketSer4ver. > > --- > Rgds, Wilfried [TeamICS] > http://www.overbyte.be/eng/overbyte/teamics.html > http://www.mes

[twsocket] I need some help understanding TWsocket states

2007-11-26 Thread Pete Williams
Hello again I'm trying to write a very simple client/server socket application using TWSocket. However, I think I may not understand the use of states correctly. What I want is for the client to connect to the server, send some data, and then disconnect. If it has more data to send, I want it t

Re: [twsocket] TWSocket component within DLL

2007-11-26 Thread Pete Williams
Just a quick question about this, should Multithreaded = TRUE or FALSE? Francois PIETTE wrote: > You need a message pump for event to fire. > To be independent of the DLL hosting application, you should probably put > all ICS code within a thread in the DLL, with the thread having his own > mess

Re: [twsocket] TWSocket component within DLL

2007-11-25 Thread Pete Williams
Thank you Francois, I'll try that and when I've got it working I'll post the code. Cheers, - Original Message - From: "Francois PIETTE" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Saturday, November 24, 2007 3:39 PM Subject: Re: [twsocket] TWSocket component within DLL >> I'm

[twsocket] TWSocket component within DLL

2007-11-24 Thread Pete Williams
Hi I hope someone can help me. I'm trying to use TWSocket to listen for incoming data and display it on a console. TWSocket is initialised and used within a Delphi DLL. The problem I have is that I initialise the TWSocket component, but none of the events fire to tell me about the incoming dat

Re: [twsocket] 10054 Connection reset by peer while sending dataTSmtpCli

2007-01-22 Thread Pete Williams
Some servers have a limit on the size of email message that they will accept - this is something I've personally encountered before. It's an anti-spam, security measure. Try sending using Outlook Express and see if it gets through. - Original Message - From: "Arno Garrels" <[EMAIL PROTEC

Re: [twsocket] [tsyncsmtpcli] Problem sending emailtoExchange2000server

2005-10-05 Thread Pete Williams
gt; > -- > Contribute to the SSL Effort. Visit > http://www.overbyte.be/eng/ssl.html > -- > [EMAIL PROTECTED] > Author of ICS (Internet Component Suite, freeware) > Author of MidWare (Multi-tier framework, freeware) > http://www.overbyte.be > > > > - Ori

Re: [twsocket] [tsyncsmtpcli] Problem sending email to Exchange2000server

2005-10-05 Thread Pete Williams
Just a recap on this one: more info now. We have an ICS-based email app that is having difficulty sending messages to Exchange 2000 server. Specifically, we can send internal emails but not emails that would need to be sent over the internet. No error is reported by ICS, the email just disappears.

Re: [twsocket] [tsyncsmtpcli] Problem sending email toExchange2000server

2005-09-19 Thread Pete Williams
Hi No, it is *not* using IMAP4 - it's Outlook Express (not Outlook) we're using. They have the same name but are quite different. However, we will get a non-MS email client like pheonix tried out tomorrow. I'll post on my findings. Pete. - Original Message - From: "Francois PIETTE" <[

Re: [twsocket] [tsyncsmtpcli] Problem sending email to Exchange2000server

2005-09-19 Thread Pete Williams
Hi >Are you absolutely sure? We get customers emailing us all the time saying > "Outlook works fine We get that too from our customers. Outlook Express and Outlook are quite different. We are using OE as the tester. >Exchange is a beast with way to many stupid settings. I'll second that! >Mayb

Re: [twsocket] [tsyncsmtpcli] Problem sending email to Exchange2000server

2005-09-19 Thread Pete Williams
gt; http://www.overbyte.be/eng/ssl.html > -- > [EMAIL PROTECTED] > Author of ICS (Internet Component Suite, freeware) > Author of MidWare (Multi-tier framework, freeware) > http://www.overbyte.be > > > - Original Message - > From: "Pete Williams" <[E

Re: [twsocket] [tsyncsmtpcli] Problem sending email to Exchange2000 server

2005-09-19 Thread Pete Williams
messages that is "lost"? Also, you might want to compare the > headers sent by your ICS client and those sent by OE. Try mimicking OE > by forging the message's headers to look like Outlook Express' and see > if that helps. > > dZ. > > On Sep 19, 2005, at

[twsocket] [tsyncsmtpcli] Problem sending email to Exchange 2000 server

2005-09-19 Thread Pete Williams
to why OE might be able to send, and TSyncSMTPCli might not? There are no errors reported by ICS. If anyone can help I'd be grateful. Pete Williams. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our