PostItem.Send Event
Outlook Developer Reference |
Occurs when the user selects the Send action for an item (which is an instance of the parent object).
Syntax
expression.Send(Cancel)
expression A variable that represents a PostItem object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
Cancel | Required | Boolean | (Not used in VBScript). False when the event occurs. If the event procedure sets this argument to True, the send operation is not completed and the inspector is left open. |
Remarks
In Microsoft Visual Basic Scripting Edition (VBScript), if you set the return value of this function to False, the item is not sent.
See Also