|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
PidTagMessageSize Canonical Property
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
Contains the sum, in bytes, of the sizes of all properties on a message object.
It is recommended that message objects expose this property. The message size indicates the approximate number of bytes that are transferred when the message is moved from one message store to another. Being the sum of the sizes of all properties on the message object, it is usually considerably greater than the message text alone.
Most message store providers compute this property for messages that they handle. However, some message store providers do not support this property. In any case, this property is not available until the IMAPIProp::SaveChanges or IMessage::SubmitMessage method has been called.