Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Appointment MAPI Properties

70 views
Skip to first unread message

news.microsoft.com

unread,
Oct 28, 2009, 10:15:07 PM10/28/09
to
Hello everyone,

I am working with Outlook 2003 MSG files. I need to pull the PR_START_DATE
and PR_END_DATE properties for appointments. The mapitags.h file shows
these as 0x0060 and 0x0061. I am just not finding these in my MSG files.

I know that the Start Date and End Properties are in the MSGs because they
transfer from machine to machine. I either have the wrong properties or the
values are incorrect.

Can someone please point me in the right direction?

Thanks!


Dmitry Streblechenko

unread,
Oct 29, 2009, 3:06:54 PM10/29/09
to
Have you tried to look at the MSG files with OutlookSpy (click Misc |
OpenIMsgOnIStg)?

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"news.microsoft.com" <d...@theman.com> wrote in message
news:eeF6l2DW...@TK2MSFTNGP06.phx.gbl...

Dmitry Akselrod

unread,
Oct 29, 2009, 3:25:56 PM10/29/09
to
Dmitry,

Thank you, I was just doing that. The problem I have no is that these
Appointment properties are moving around. They don't seem to have a fixed
id. They are also not in the header file because they are optional and
MAPI Class specific. I am not sure how I am going to find their offset at
this point.


"Dmitry Streblechenko" <dmi...@dimastr.com> wrote in message
news:OIumvtM...@TK2MSFTNGP05.phx.gbl...

Dmitry Streblechenko

unread,
Oct 30, 2009, 11:59:58 AM10/30/09
to
For the named propertiers (shown in boldby OUtlookSpy), you need to call
IMessage::GetIDsFromNames() to figure out the property tag.
The GUID and ID to be used when calling GetIDsFromNames is shwon in teh
"Namd Property " box in OUtlookSpy when yo uselect a particular named
property.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-

"Dmitry Akselrod" <bla...@bla.com> wrote in message
news:eSMgm2MW...@TK2MSFTNGP06.phx.gbl...

Dmitry Akselrod

unread,
Oct 30, 2009, 12:54:41 PM10/30/09
to
Dmitry, thank you.

I am not using the Oultook MAPI interfaces to process the MSGs. I am
actually using COM to process the structured storage files and basically
reverse engineering the format. I need to do that because I am running my
software on machines that do not have Outlook (or Office) installed, and
they wouldn't have the GUIDs for these properties. I also can't write any
registry values to these machines since. So, I am stuck with figuring out
why the tags change for the named properties. For example, the appointment
Start property can be 0x8012, 0x8017, 0x801D, etc. I am missing a key peace
here. It could be a versioning issue with different Outlook revisions.
These named properties are the first major issue I have encountered. The
system MAPI properties are always where you expect them to be.

thanks again.


"Dmitry Streblechenko" <dmi...@dimastr.com> wrote in message

news:ul0k9pXW...@TK2MSFTNGP06.phx.gbl...

Dmitry Streblechenko

unread,
Oct 30, 2009, 7:21:56 PM10/30/09
to
This has nothing to do with versions. The named prop tags will be assigned
values on the first come first server basis, meaning it will depend onm teh
orde in which tags are requested by calling GetIDsFromNames.
Have you looked at the MSG file format specification ([MS-OXMSG].pdf )?
Namely 2.2.3 Named Property Mapping Storage?

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Dmitry Akselrod" <bla...@bla.com> wrote in message

news:u5jRwGYW...@TK2MSFTNGP04.phx.gbl...

news.microsoft.com

unread,
Oct 30, 2009, 10:22:08 PM10/30/09
to

Wow! I certainly have not seen that document before. This explains
everything. Thank you!


"Dmitry Streblechenko" <dmi...@dimastr.com> wrote in message

news:uiiH7gbW...@TK2MSFTNGP05.phx.gbl...

0 new messages