P
Peter Ramsebner
Hi all,
i'm logging outgoing mail messages in a external database (sql server). One
of the saved data is the EntryID of a message.
To log the messages i use 'ThisOutlookSession'.
Because of the fact that new messages doesn't have an EntryID first i have
to save the message...
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
Item.Save
Debug.Print Item.EntryID
Exit Sub
--> The Problem is, that this EntryID is not the EntryID you will see
later!!!
Outlook is changing the EntryID!
1) But why?
2) What can i do to get the right EntryID?
Thanks,
Peter
i'm logging outgoing mail messages in a external database (sql server). One
of the saved data is the EntryID of a message.
To log the messages i use 'ThisOutlookSession'.
Because of the fact that new messages doesn't have an EntryID first i have
to save the message...
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
Item.Save
Debug.Print Item.EntryID
Exit Sub
--> The Problem is, that this EntryID is not the EntryID you will see
later!!!
Outlook is changing the EntryID!
1) But why?
2) What can i do to get the right EntryID?
Thanks,
Peter