Platform SDK: CDO 1.2.1

Encrypted Property (Message Object)

The Encrypted property is True if the message has been encrypted or if encryption is being requested. Read/write.

Syntax

objMessage.Encrypted

Data Type

Boolean

Remarks

The Encrypted property represents only a request for encryption. The effect of setting it is dependent upon the message store or transport provider. CDO does not encrypt or digitally sign the message.

Security features include the Encrypted and Signed properties.

The Encrypted property corresponds to the SECURITY_ENCRYPTED flag of the MAPI property PR_SECURITY. It can be rendered into HTML hypertext using the CDO Rendering ObjectRenderer object. To specify this, set the object renderer's DataSource property to this Message object and the property parameter of the RenderProperty method to CdoPR_SECURITY. However, you must assign a CDO Rendering Format object to the PR_SECURITY property and use the Value property of the format's Pattern objects to isolate the SECURITY_ENCRYPTED flag's setting for rendering.