Re: [twsocket] POP3 and fetching messages?

2011-03-08 Thread Angus Robertson - Magenta Systems Ltd
If I want to fetch all of the messages on the server, can I use something like MsgNum = 1 up to MsgCount or can the actual number change so I have to do a combination of List and Retr? Most POP3 servers offer a snapshot of the mailbox when it is opened, and ignore any new email that arrives

Re: [twsocket] POP3 and fetching messages?

2011-03-08 Thread Fredrik Larsson
You can ignore this. I found this after some wider search in the archive.. :) Also updated the wiki.. :) -Original Message- From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On Behalf Of Fredrik Larsson Sent: den 8 mars 2011 15:25 To: 'ICS support mailing' Subject:

Re: [twsocket] pop3 and lastresponse

2010-09-20 Thread Arno Garrels
Arno Garrels wrote: Zvone wrote: IMO the component should clear LastResponse on before connect. Maybe it should, but what it does is different story :) I checked in a few changes today, it's rev #600: Log: Pop3Prot V6.08 Moved HMAC-MD5 code to OverbyteIcsMD5.pas. Ensure that var

Re: [twsocket] pop3 and lastresponse

2010-09-19 Thread Arno Garrels
Zvone wrote: IMO the component should clear LastResponse on before connect. Maybe it should, but what it does is different story :) Yes, it has to be fixed IMO. So what about a numeric property LastErrorNumber? There is no such property nowhere in pop3 (or in any ICS file). That was a

Re: [twsocket] pop3 and lastresponse

2010-09-18 Thread Angus Robertson - Magenta Systems Ltd
While Timeout works rather nice as far as Idle version goes, connect version is usually preceded by Windows built-in timeout An application can not cleanly stop a TCP connection attempt, you have to wait for Windows to timeout, usually 40 seconds unless there is an error of some sort earlier.

Re: [twsocket] pop3 and lastresponse

2010-09-18 Thread Arno Garrels
Hello, Zvone wrote: I found something that might also be issue with pop3 component. If you check one pop3 account and end the session usually LastResponse will be some ending message like +OK sayonara. But if you then reinitialize pop3 for another account and this account fails to connect,

Re: [twsocket] pop3 and lastresponse

2010-09-18 Thread Zvone
IMO the component should clear LastResponse on before connect. Maybe it should, but what it does is different story :) The following fails also with non-sync version but sync is easier to copy-paste. //-- SyncPop3Cli-Host = put-valid-server-here;

Re: [twsocket] pop3, buffer and character encoding

2010-07-03 Thread Arno Garrels
Zvone wrote: TBytes was the datatype to be used. However that would break backwards compatibility since historically string was used everywhere. That all was no problem, however the rule is: DO NOT BREAK BACKWARDS COMPATIBILITY and that is where the problems begin. Well you've already

Re: [twsocket] pop3, buffer and character encoding

2010-07-02 Thread Arno Garrels
Hello Zvone, Yes, the Unicode implementation of the POP3 client is weak. It converts the bytes received to Unicode with current Ansi system codepage. This is direct result of ICS rule #1 to not break backwards compatibility. However, as long as this codepage was one of the windows-xyz, single

Re: [twsocket] pop3, buffer and character encoding

2010-07-02 Thread Arno Garrels
Zvone wrote: However, as long as this codepage was one of the windows-xyz, single byte character sets converting back to Ansi with the same codepage should work without data loss and give you back the raw bytes (hopefully). This won't work, for example, with Japanese locale settings. But

Re: [twsocket] pop3, buffer and character encoding

2010-07-02 Thread Zvone
TBytes was the datatype to be used. However that would break backwards compatibility since historically string was used everywhere. That all was no problem, however the rule is: DO NOT BREAK BACKWARDS COMPATIBILITY and that is where the problems begin. Well you've already broken this rule by

Re: [twsocket] pop3 component not ready - Bug in TPop3Cli

2008-01-18 Thread DZ-Jay
On Jan 17, 2008, at 07:34, [EMAIL PROTECTED] wrote: it didnt fix the issue, got a pop3 not ready exception today. Can you post some code so that we know how you tried to fix it? dZ. -- DZ-Jay [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To

Re: [twsocket] pop3 component not ready - Bug in TPop3Cli

2008-01-18 Thread Arno Garrels
DZ-Jay wrote: Can you post some code so that we know how you tried to fix it? The bug I found is the Special processing for Quit below. procedure TCustomPop3Cli.TriggerRequestDone(Error: Word); begin == (* { Special processing for Quit (Roger Morton 24-12-99) } if FRequestType =

Re: [twsocket] pop3 component not ready - Bug in TPop3Cli

2008-01-17 Thread retnyg
AG It helps alot to post a short message when you either think AG the problem is resolved or not. Thanks. it didnt fix the issue, got a pop3 not ready exception today. AG -- AG Arno Garrels [TeamICS] AG http://www.overbyte.be/eng/overbyte/teamics.html i also hope that the bug gets

Re: [twsocket] pop3 component not ready - Bug in TPop3Cli

2008-01-17 Thread Arno Garrels
[EMAIL PROTECTED] wrote: AG It helps alot to post a short message when you either think AG the problem is resolved or not. Thanks. it didnt fix the issue, got a pop3 not ready exception today. You did not provide any further information, not ready exceptions may happen, i.e. due to incorrect

Re: [twsocket] pop3 component not ready

2007-12-11 Thread Arno Garrels
[EMAIL PROTECTED] wrote: procedure TMailAlert.Pop3ClientRequestDone; begin if (FPop.connected) and (CheckError) then begin FPop.quit; exit; end; ... what could be the cause that the component is not ready after the error ? After sending command Quit you should receive a

Re: [twsocket] POP3

2006-12-29 Thread [EMAIL PROTECTED]
Hello: I haven't worked with POP3 authentication, so I can't answer those questions, but at least I can give you an answer to your first question: --- quote: What is the difference between Open and Connect? Is it that Connect simply gets the server's attention, so to speak, such that User,

Re: [twsocket] POP3

2006-12-29 Thread Rob Ashburn
Hi, You are absolutely correct. Thanks for that dZ! Rob. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be

Re: [twsocket] POP3 Client - changing folders on the server

2006-02-09 Thread DZ-Jay
Hello: With POP3, there is no notion of folders or any organization of messages. It is just reads a single file. When you said that your ISP added a spam folder, what do you mean? Did they add this to a WebMail application? If so, this has nothing to do with the POP3 server.

Re: [twsocket] POP3 Client - changing folders on the server

2006-02-08 Thread Angus Robertson - Magenta Systems Ltd
I have written an ap using the POP3 component to access mail from my ISP. I can also access my email via the internet. The ap works perfectly, but my ISP has recently added a spam folder Effectively the mail is being put into a separate mailbox, you just log into that mailbox instead. My