On Wed, Sep 13, 2006, Lars Kneschke <[EMAIL PROTECTED]> said: > Aaron Stone <[EMAIL PROTECTED]> schrieb: >>UIDVALIDITY is constant on a per-mailbox basis so long as the UIDs of each >>message still point to the same messages. To look for new messages, you >>need to check the current message sequence number. EXAMINE, SELECT and >>STATUS can get it for you. In fact, we should time them to see if they run >>at significantly different speeds. > Ok. I changed my code. But should not change that value at least on delete?Â
Nope, I don't think so. When UIDVALIDITY changes, it means all UID's that you have cached must be thrown away and you have to find out what the new UID's are for the messages in the mailbox. There's an interesting extension, too: RFC 4315, UIDPLUS. I don't think it's implemented in DBMail (?). Aaron
