Skip to content

Latest commit

 

History

History
33 lines (15 loc) · 894 Bytes

fad940fa-3ab8-ac9c-0cc1-adc36c695af8.md

File metadata and controls

33 lines (15 loc) · 894 Bytes

MailItem.BeforeAttachmentWriteToTempFile Event (Outlook)

Occurs before an attachment associated with an instance of the parent object is written to a temporary file.

Syntax

expression . BeforeAttachmentWriteToTempFile( Attachment , Cancel )

expression A variable that represents a MailItem object.

Parameters

Name Required/Optional Data Type Description
Attachment Required Attachment The Attachment to be written.
Cancel Required Boolean Set to True to cancel the operation; otherwise, set to False to allow the Attachment to be written.

See also

Concepts

MailItem Object

Other resources

MailItem Object Members