>>>I am already storing the contents of my outlook messages in a foxpro table but i am wanting to store a unique reference for each email so i can open a particular email in outlook. Any feedback is most welcome
>>
>>There is a particular property of the item that returns it's unique ID:
>> EntryID
>>
>>You can use it like this:
>>
>> aplicacao = createobject("outlook.application")
>> espaco = aplicacao.GetNamespace("MAPI")
>> inbox = espaco.GetDefaultFolder(6)
>>
>>
>> mensagem = inbox.items(1)
>> UniqueReferenceToMessage = mensagem.EntryID
>>
>>
>>Joaquim
>
>Thanks Joaquim. Works great. How would I now open that item in Outlook ?