Solved

How to setup a SQL Job failure notification by email ?

Posted on 2013-12-05
3
567 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
  • 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL Server Generate Scripts Fails 5 36
sql 2014,  lock limit 5 32
migrate a SQL 2008 to 2016, 2 29
Query Help - MSSQL - Averages 5 27
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
I have a large data set and a SSIS package. How can I load this file in multi threading?
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

773 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