D
donald
If you access Outlook through COM-automation and create a new MailItem,
you lose access to it when it is send.
"The subject has been moved or deleted" or some such error message you
get, if you try to access any of the mails properties after it has been
send.
I know i need to keep track of the MailItem where it is using
MAPIFolder.Items.ItemAdd event on the "Sent Items" folder and add a
unique custom property to the message and then search for that message
in the "Sent Items" folder.
I got the ItemAdd and it find it but i need to check it is the right
message so how can i add a custom property to all the MailItem in
outlook?
Thanks
Donald
you lose access to it when it is send.
"The subject has been moved or deleted" or some such error message you
get, if you try to access any of the mails properties after it has been
send.
I know i need to keep track of the MailItem where it is using
MAPIFolder.Items.ItemAdd event on the "Sent Items" folder and add a
unique custom property to the message and then search for that message
in the "Sent Items" folder.
I got the ItemAdd and it find it but i need to check it is the right
message so how can i add a custom property to all the MailItem in
outlook?
Thanks
Donald