23 Nov
2003
23 Nov
'03
2:07 p.m.
Timo Sirainen wrote :
But if you give UID, there's no way to know where in the mbox file the message begins unless you store the UID -> offset in memory, which index already does, so why not just give the offset..
The point was that you have to have the mailbox locked and synchronized before trying to open any messages. Synchronizing updates the offsets and while mailbox is locked the offsets can't change.
sorry, I thought it was for external IMAP UID. These are, in fact, internal usage identifiers.
-- DINH V. Hoa,
"monde de merde" -- Erwan David