Outlook Objects Extra Information

  • Thread starter Thread starter Anthony Yio
  • Start date Start date
A

Anthony Yio

Hello,

I am not sure if my question make sense to you all, if there are better
approaches than this.
How do I write extra information into MAPIFolder objects, outlook items like
Task Item, Notes item, Contact Item and etc ,which eventually will be saved
into the *.PST file. I need to somehow place in a ID for each of these
items.

I found this MAPIFolder - Description property in the Outlook Reference but
I found that this description property could be changed by the user in the
Outlook itself which is unacceptable in my case. I need the property to be
inaccessible from the user but accessible throught the VBA. Also, the
description property is only for MAPIFolder object, I need to place into
outlook items as well.

Any suggestions?

thank you
 
You can store that id in custom MAPI properties.
Or you can use named properties to avoid tag conflicts.
All Outlook objects store in the pst via MAPI interfaces (IMAPIFolder and
IMessage).
They are accessible in OOM via MAPIOBJECT property.

That interface is custom interfaces.
So to use them in VBA you shold use third-party libs like Outlook
Redemption.

WBR
Henry
 
Back
Top