Size Property (CDONTS Message Object)

Size Property (CDONTS Message Object)

The Size property returns the approximate size in bytes of the message. Read-only.

Syntax

        objMessage.Size 

Data Type

Long

Remarks

The Size property contains the sum, in bytes, of the sizes of all properties on this Message object, including in particular the Attachments property. It can be considerably greater than the size of the Text property alone.

The Size property is computed by the message store and is not valid until after the Send operation. Note that not all message stores support this property.

See Also

Concepts

Message Object (CDONTS Library)