Outlook object model

F

Frank

I have found that the web page address of a contact returned by the
Outlook object model (Outlook 2000) has the "http://" prefix added when
the prefix is not already in the address (as viewed with OutlookSpy).

Does the Outlook object model do any other conversions when reading (or
setting) fields?

Is this documented?

Thanks,

Frank
 
D

Dmitry Streblechenko

Of course: all datetime props are converted from GMT to the local timezone;
if a datetime prop is missing, OOM returns 1/1/4500, in ANSI stores all
string properties are converted to Unicode using the ANSI value of the prop
and the value of PR_INTERNET_CPID, plain text body is dynamically converted
from PR_RTF_COMPRESSED rather than PR_BODY, etc, etc, etc.

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

Frank

Dmitry said:
Of course: all datetime props are converted from GMT to the local timezone;
if a datetime prop is missing, OOM returns 1/1/4500, in ANSI stores all
string properties are converted to Unicode using the ANSI value of the prop
and the value of PR_INTERNET_CPID, plain text body is dynamically converted
from PR_RTF_COMPRESSED rather than PR_BODY, etc, etc, etc.

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

To make my original question more specific, I was wondering if the OOM
might do any kind of formatting on:

address fields,
email fields, or
phone number fields

I remember seeing a country code difference ("US" vs "U.S.") but I do
not know if the difference was caused by the Outlook program itself, or
the OOM.

Frank
 
D

Dmitry Streblechenko

AFAIK Outlook reformats the dates/addresses/phones #s/etc when you enter
them, but not when you access them through OOM.

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

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