Solved

How to setup a SQL Job failure notification by email ?

Posted on 2013-12-05
3
588 Views
Last Modified: 2013-12-06
I can able to send email through Database mail. But I am not able to configure the
Job failure notification email since it is empty. (Please see my attachement).

How to configure the SQL job failure notification  email ?
notification.png
0
Comment
Question by:Varshini S
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 26

Expert Comment

by:Shaun Kline
ID: 39699509
Have you configured an account and profile in the Database Mail feature? (Seems a silly question, but I believe you can send database mail through code without performing these steps.)
0
 
LVL 10

Accepted Solution

by:
PadawanDBA earned 500 total points
ID: 39699540
Configure dbmail: http://blog.sqlauthority.com/2008/08/23/sql-server-2008-configure-database-mail-send-email-from-sql-database/

Enable mail profile: Right click sql server agent > Properties > Alert System > Check "Enable mail profile" and then select the mail profile you made above

Create an operator: http://technet.microsoft.com/en-us/library/ms175962(v=sql.105).aspx

Edit: after you create the operator, you should see the operator name in the dropdown you posted in your screenshot
0
 
LVL 26

Expert Comment

by:Shaun Kline
ID: 39699545
I believe PadawanDBA got it right with the Operator piece.
0

Featured Post

Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question