Intrinsic Objects
The Microsoft Exchange Event Service passes the following intrinsic objects when your script is run:
-
EventDetails.Session The object that represents the CDO session you're logged on as. Because a script is handed this logged-in CDO session, it automatically has access to all CDO objects. This session is logged on as the script author.
-
EventDetails.FolderID The entry identifier of the folder in which the event took place.
-
EventDetails.MessageID This is the identifier of the triggering message, if a message (and not a timer event) triggered the event.