OlAttachmentBlockLevel enumeration (Outlook)

Specifies whether there is any restriction on the type of attachments for an item.

Name Value Description
olAttachmentBlockLevelNone 0 There is no restriction on the type of the attachment based on its file extension.
olAttachmentBlockLevelOpen 1 There is a restriction on the type of the attachment based on its file extension such that users must first save the attachment to disk before opening it.

Remarks

Attachments with the BlockLevel equal to olAttachmentBlockLevelOpen are on the Level 2 list of attachments that administrators maintain for attachment security. For more information on attachment security in Outlook, see the Office Resource Kit website.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.