On Wed, 30 Mar 2005, Dustin C. Hatch wrote:

> 
> I recently developed a webmail client for POP3/POP3S so that I could use 
> native XMail support and webmail. The way the inbox is designed, 
> messages are released in reverse order of their MTA assigned ID number, 
> ie 1 is on the bottom, 2 next, a googol on the top, etc. This worked 
> fine for a while, until I started getting many messages in my inbox. 
> Then I started noticing that the messages were no longer arranged in 
> order of their dates. I thought it was no big deal and just modified the 
> code to sort the messages by date after converting them to a UNIX 
> timestamp, etc. This worked for a while. The problem further complicated 
> itself one day while I was reading a message, and, for a reason I now 
> have forgotten, I refrehed the page, and the email changed! A new 
> message 
> had arrived while I was reading and had taken over the old message's ID 
> number. This forced the message I was reading, and all subsequent 
> messages, to increment their IDs.
> 
> I was wondering if this is a flaw in XMail, or if that is the way all 
> MTAs work. I have never used anything else, so I don't know if others 
> just generate seemingly random IDs for incoming messages. If it is a 
> flaw, can it be fixed? Because my client fully relies on the message ID 
> number for all functions, like deletion, forwarding, and replying, I 
> need to have messages have constant ID numbers.

You are aware that POP3 server are not guaranteed to preserve message IDs 
across session, yes? That's why UIDL have been added to the protocol, and 
XMail supports it.



- Davide

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to