I have a scheduled task that sends a email when something happens on a application.
Now I want to send the message details of the event also in the email. How to do that?
In Windows Server 2008 R2 with the Task Scheduler.
task-schedulerwindows-server-2008-r2
I have a scheduled task that sends a email when something happens on a application.
Now I want to send the message details of the event also in the email. How to do that?
In Windows Server 2008 R2 with the Task Scheduler.
Best Answer
The only way to accomplish this is a bit of a workaround (in my opinion). You will need to create two actions for your task. The steps are as follows:
The process is detailed here: http://blogs.technet.com/b/jhoward/archive/2010/06/16/getting-event-log-contents-by-email-on-an-event-log-trigger.aspx