Hi,
I haven't used the POP3-component before so I need a little help.
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?
Regards, Fredrik.
--
To
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
: [twsocket] POP3 and fetching messages?
Hi,
I haven't used the POP3-component before so I need a little help.
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
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
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
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, for example due to timeout
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.
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,
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;
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
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
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
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
OK, I have an issue which I don't entirely understand.
The way to check received pop3 message is to create Pop3CliMessageLine event
and then add Pop3Cli.LastResponse to your own buffer (UnicodeString) and
store that as email.
However, this creates a bit of a problem - LastResponse is
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
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 =
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
[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
hi, i use a custom pop3 component in my program, and frome time to
time i get this errormessage from the server:
-ERR System temporarily unavailable, please try again later.
on the next connect try i get the pop3 component not ready exception,
even if i check for connected:
function
[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
Hi all,
I've never used the email components before, so forgive me if these are dumb
questions. I've been looking at the MailRcv demo, and while I think I have
an idea what it's doing, I'm a little confused.
What is the difference between Open and Connect? Is it that Connect simply
gets the
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,
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
Hi there,
I am using Pop3Cli however, if I try and connect and say, my username or my
host is wrong, if I correct that and try again I get the error
'POP3 component not ready'
if i close the software and open it again I can try and connect again with out
the above message
I tried doing
try
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.
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
Hi DZ,
sorry, I've deleted your last message ;-) But I read it...
It was a little bit principal to use it with the ICS compos (great work,
francois!)
Now I have seen the way how it works and I'll use the unique message IDs
for safer work!
Again thanks a lot, DZ!!!
Kind regards,
Michael
27 matches
Mail list logo