Solved

SQL Server 2005 Notification Emails

Posted on 2014-02-10
2
500 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
2 Comments
 
LVL 12

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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
I have a large data set and a SSIS package. How can I load this file in multi threading?
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 and will be exposed to the many uses the SELECT statement has.

863 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now