Export (0) Print
Expand All

Sending an Email Message When an Event Occurs

Writing a task that sends an email message when an event occurs is done by defining an event trigger and an email action.

Event Triggers

Event Triggers allow you to specify an event query that is used to subscribe to events produced by the Windows Event Log service. When an event occurs the action of the task will execute.

Event Trigger Examples

The following examples send an email message when an event occurs:

Related topics

Using the Task Scheduler

 

 

Send comments about this topic to Microsoft

Build date: 10/16/2012

Community Additions

Show:
© 2014 Microsoft