We will use this step to send the email notification on success.

Step Name: Email Notification Success Enter this SQL into the Command window as seen below.

This will be the failure notification step.

Sending Automated Job Email Notifications in SQL Server with SMTP

/wordpress/wp-content/uploads/2006/11/WindowsLiveWriter/SendingAutomatedJobEmailNotificationsinS_B456/jobsteps1.png

/wordpress/wp-content/uploads/2006/11/WindowsLiveWriter/SendingAutomatedJobEmailNotificationsinS_B456/newstep1.png

/wordpress/wp-content/uploads/2006/11/WindowsLiveWriter/SendingAutomatedJobEmailNotificationsinS_B456/step1flow1.png

/wordpress/wp-content/uploads/2006/11/WindowsLiveWriter/SendingAutomatedJobEmailNotificationsinS_B456/step2flow1.png

/wordpress/wp-content/uploads/2006/11/WindowsLiveWriter/SendingAutomatedJobEmailNotificationsinS_B456/step3flow1.png

/wordpress/wp-content/uploads/2006/11/WindowsLiveWriter/SendingAutomatedJobEmailNotificationsinS_B456/finalsteps1.png