Outlook datamodel

G

gthegreek

Hi,
I am developing this fine add-in for MS Outlook but I cannot find a
resource where I can get the specifics of the datamodel Outlook uses.
I need to know the maximum size of string fields for example...
This is in regards to Contacts, Tasks, Appointments and Notes
 
S

Sue Mosher [MVP]

There is no set limit on the message body.

For other standard text fields, like Subject, the Outlook object model can
return 255 characters, although more can actually be stored and lower-level
APIs can return longer values (so whether you're using the Outlook object
model or another API is relevant). The maximum total size of an item, apart
the message body and attachments, is 32kb.
 
G

gthegreek

Sue,
thanks for the reply. Ia m indeed using the Outlook object model and this
just out conviniece. I didn't even know there was a lower level API. Does
your book discuss this topic?
I am a little troubled though after your answer. You see, what my
application does, is extract information out of Outlook and place it in a
database and vice versaa. That means that somebody can select some data from
the database and import it into his Outlook. You see the problem? How can I
validate the data when entries in the database are made manually?
 

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