Solved

SQL Server 2005 Notification Emails

Posted on 2014-02-10
2
499 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
Comment Utility
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
Comment Utility
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

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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 set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

763 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

7 Experts available now in Live!

Get 1:1 Help Now