How to set the proterty "Sented" on Outlook MailItem?

Add-in Express™ Support Service
That's what is more important than anything else

How to set the proterty "Sented" on Outlook MailItem?
 
Fox Hu




Posts: 2
Joined: 2005-02-15
How to set the proterty "Sent" on Outlook MailItem?

I create a mailitem and move to "sent items" folder, but there is a flag "this message has not been sent", i didn't call the mailitem.submit, because i only use outlook/mailitem as storage place, proterty "Sent" is readonly for mailitem. Is there a method to remove this flag?

Thanks.
Fox
Posted 15 Feb, 2005 01:24:33 Top
Dmitry Kostochko


Add-in Express team


Posts: 2741
Joined: 2004-04-05
Hello Fox,

I suppose that using Extended MAPI is the only way to change this flag. See the PR_MESSAGE_FLAGS property and the IMAPIProp::SaveChanges method.
Posted 15 Feb, 2005 06:28:54 Top