Solved

SQL Server 2005 Notification Emails

Posted on 2014-02-10
2
512 Views
Last Modified: 2014-02-11
Our SQL Server 2005 sends an email when a job completes successfully even though we have the setting set not to (I think.)

If I right click the job and select properties, then 'Notfications' I believe that takes me to where this is set up?

Under "Actions to perform when the job completes"  the email box IS checked...however the selection is set to 'when the job fails'.

However, we are still getting the emails every time the job completes, even though the email itself says the job status as 'succeeded".  See below.

 Is there somewhere else to check?

Example of the last one I received (edited for posting with xxx):

DETAILS: NEW COMPONENT OUTPUT
Microsoft(R) Server Maintenance Utility (Unicode) Version 9.0.5000 Report was generated on "xxx".
Maintenance Plan:  Databases Backups
Duration: 01:18:19
Status: Succeeded.
Details:
Back Up Database (Full) (xxx)
Backup Database on Local server connection
Databases: xxx
Type: Full
Append existing
Task start: 2014-02-10T21:00:02.
Task end: 2014-02-10T22:18:21.
Success
0
Comment
Question by:snyperj
[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 Comments
 
LVL 13

Accepted Solution

by:
Koen Van Wielink earned 500 total points
ID: 39849161
Check under SQL Server Agent - Operators. Select the operator which is receiving the emails, then right click to open the properties.
Under "Select a page", select "Notifications", then "View notification sent to this user by: Jobs. This should list when this user gets emails and for which jobs.
If that doesn't list the emails on success, could it be that each of the jobs have a separate step added to send out an email? See attached image from one of our jobs where the email is generated in a job step.
Steps.png
0
 
LVL 22

Expert Comment

by:Steve Wales
ID: 39849289
Is there an extra step in the maintenance plan where the job is manually called sp_send_dbmail to send email notification as the last step in the job ?
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL 2012 Report Builder 3.0 query 2 26
VM SQL server license. 1 67
SQL Simple Query Taking a Very Long Time 11 38
SQL query joining 6 tables in asp.net 4 33
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

710 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