Setting PR_CREATION_TIME property?

W

wclarke101

Is it possible to programmatically change the value of the PR_CREATION_TIME
property of a MailItem and DocumentItem? Everywhere I’ve looked on the
internet says its not possible, yet I have a utility called OutlookSpy which
lets me change it, which indicates it must be possible somehow.

If this is possible, please can you post sample code?

I’m using VSTO 2008 with Outlook 2007.

Thanks,
Wayne.
 
K

Ken Slovak - [MVP - Outlook]

OutlookSpy uses Extended MAPI, which is not supported for use in managed
code and can be programmed only in C++ or Delphi. You can use Redemption
from the same author as OutlookSpy to do many MAPI type things, but be aware
that changing that property may or may not work. Using an online connection
to an Exchange server mailbox in Outlook 2007 SP2 changing that property
using OutlookSpy did not work.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top