MailItem.EntryID. To retrieve a messag given its entry id, use Namespace.GetItemFromID
Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool
"Andrea" <Andrea[ at ]discussions.microsoft.com> wrote in message news:258F99D7-2899-41F7-B7A3-A5CF0945083D[ at ]microsoft.com...
[Quoted Text] > Hello, > I have an external application in sQL server 2005 (VS2005), I must create > a > reference beetween one record (eg. Customer anagraphic) and all > email recived to it in outlook, there is a simple system to do that, eg. > in > a record add a GUID of email (if tthere is)? > NOTE. email in outlook can be in all folder. > > ps. sorry for my english. > > Best Regards > Andrea
|