NewMail Event

See Also         Example         Applies To        

Occurs when one or more new messages are received in the Inbox. This event is not available in VBScript.

Syntax

Sub object_NewMail()

object   An expression that evaluates to an Application object.