Solved

SQL Server 2005 Notification Emails

Posted on 2014-02-10
2
520 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

Industry Leaders: 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

Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
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…
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…

617 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