Send Event

Send Event

See Also         Example         Applies To

Occurs when the user selects the Send action for an Outlook item.

Syntax 1

Function Item_Send()

Syntax 2

Sub object_Send(Cancel as Boolean)

object   An expression that evaluates to an object in the “Applies To” list.

Cancel   Optional. 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

Use Syntax 1 in VBScript. If you set the return value of this function to False, the send operation is not completed and the inspector is left open.

Use Syntax 2 when handling the Send event in Visual Basic or Visual Basic for Applications.