View Single Post
  #1  
Old February 18th 09, 08:34 AM posted to microsoft.public.outlook.program_addins
[email protected]
external usenet poster
 
Posts: 1
Default No entryid on Itemsend Event

Hi,
i'm developping an outlook addin who log all email send.
There is the code

Private Sub goOutlook_ItemSend(ByVal Item As Object, Cancel As
Boolean)
If Item.Class = 43 Then
Item.Save
writetmp Item.EntryID + "$" + Item.Parent.StoreID
End If
End sub

If i remove Item.save method, Item.EntryID is empty, if i use
item.save method, entryid is not null, but outlook change is value
after itemsend method. thats why what i log is wrong.

There is a solution to get right entryid on a sent item ?
Thanks
Ads