On 2/5/05 2:13 PM, "Larry Stone" <[EMAIL PROTECTED]> wrote:
> On 2/5/05 3:51 PM, revDAVE at [EMAIL PROTECTED] wrote:
>
>> On 2/5/05 11:34 AM, "Barry Wainwright" <[EMAIL PROTECTED]> wrote:
>>
>>> We don't know for sure, but I expect that the database internally stores the
>>> ids of messages that are left on server, and checks the headers of each
>>> message before downloading it.
>>>
>>> This internal table is deleted when the database is rebuilt.
>>
>> Do you think this is the unique id:
>>
>> id 1CxViH-0004on-P7 ... Otherwise I wouldn't know how it can check since
>> emails don't seem to really have unique id's as far as I know.......?
>
> The Message-ID header is it. In your message that was
> Message-ID: <[EMAIL PROTECTED]>
>
> I'm not sure if clients are required to add (some clearly do) but if not,
> then the first SMTP server to handle a message is supposed to add it. To
> insure there's one there, I believe the implementation is essentially for
> each server to check for its presence and add it if not there.
But that's not the ID Barry meant. The Entourage database has its own set of
IDs for every object, including messages. The Message-ID in the source can
never, ever be re-written - it belongs to the source. But the database's
inner "tracking" of objects is re-written when you do a rebuild - it starts
over from scratch.
You can find the database's ID via AppleScript. Select the message in
question and then run this script:
tell application "Microsoft Entourage"
set theMsg to item 1 of (get current messages)
set msgID to ID of theMsg
end tell
--> 12345, or similar
If you omit the second line, the result will be something like:
--> incoming message id 12345
Although there are two subclasses 'incoming message' (i.e. received
messages) and 'outgoing message' (saved draft messages and sent messages)
they share the same ID-space. There only ever one message, whether incoming
or outgoing, that has a particular ID. When you rebuild, there ay be no
message with that ID or it's guaranteed to be a different message if there
is one that now owns that ID. But if you could track down the Message-ID
header in the source, you'd find the original message.
--
Paul Berkowitz
MVP MacOffice
Entourage FAQ Page: <http://www.entourage.mvps.org/faq/index.html>
AppleScripts for Entourage: <http://macscripter.net/scriptbuilders/>
PLEASE always state which version of Microsoft Office you are using -
**2004**, X or 2001. It's often impossible to answer your questions
otherwise.
--
To unsubscribe:
<mailto:[EMAIL PROTECTED]>
archives:
<http://www.mail-archive.com/entourage-talk%40lists.letterrip.com/>
old-archive:
<http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>