Hi, I am not sure, but I think any mailserver relaying a message will provide it with an id if it yet doesn't have one. Most Clients I think will set one by itself however. But in any case I would never trust that. Maybe you will never get two mails with the same id, but if there is a broken implementation somewhere it could happen. Don't you want to save the message? Why dont you simply use incrementing numbers as key. Or more funky ids you could generate yourself. For reference to other resources or from other clients you still could maintain the guid as a nonunique key (in the database design at least; using it in an client application as unique wouldn't hurt I think).
Cheers, Marcus > -----Original Message----- > From: Gavin Enns [mailto:[EMAIL PROTECTED]] > Sent: Friday, July 12, 2002 4:52 PM > To: [EMAIL PROTECTED] > Subject: GUIDs (Not a JAMES specific question, but the answer > might be) > > > I am currently researching options for a mail system for my > company. The > tricky part is that I must find a way to archive messages > (permanently) in > such a way that all of the messages are easily accessible > from an existing > in-house database. I think that I may have found a solution > to this problem, > but I need to figure out what to use as the key for each > message in the > database. The obvious choice would be the GUID of a message. > What I need to > know is if each message is automatically assigned a GUID and > if so, where, > when, how, and how can I access it? If if anyone have any > suggestions on > this topic I would greatly appreciate it. > > Great Gobs of Thanks, > Gavin Enns > Communications Programmer > Ronneberger Computing Inc. > Brighton, Ontario, Canada > (613)475-3946 Ext. 42 > > _________________________________________________________________ > Send and receive Hotmail on your mobile device: http://mobile.msn.com > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
