This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
A burning candle with an iron nail in its side above a pewter dish, a red ribbon below.

Alerting on Long-Running Queries With a SQL Agent Job

October 26, 2020
Pinal Dave
SQL Performance
Database Mail, SQL DMV, SQL Monitoring, SQL Server, SQL Server Agent

Alert on long-running queries with a five-minute SQL Agent job, a deduplicated log, and one Database Mail notice per new request.

Read More
An empty coastguard lookout hut on a cliff while a vermilion distress flare arcs over the sea.

SQL Agent Operators and Notifications: Who Gets the Alert

September 26, 2020
Pinal Dave
SQL Tips and Tricks
Database Mail, DBA, SQL Monitoring, SQL Server Agent

Configure SQL Agent operators, connect jobs and alerts to email notifications, test delivery, and verify notification evidence.

Read More
Plain parcels waiting above a chute while one parcel rests at the outlet

Database Mail Health Check: Unsent Items and the Event Log

September 11, 2019
Pinal Dave
SQL Tips and Tricks
Comprehensive Database Performance Health Check, Database Mail, System Database, Transaction Log

The alert job succeeded, yet nobody got the email. Here are three read-only checks that show whether Database Mail is really working.

Read More
SQL SERVER - Database Mail Error: The SMTP Server Requires a Secure Connection or the Client Was Not Authenticated. The Server Response Was: 5.5.1 - Using Gmail

SQL SERVER – Database Mail Error: The SMTP Server Requires a Secure Connection or the Client Was Not Authenticated. The Server Response Was: 5.5.1 – Using Gmail

July 4, 2018
Pinal Dave
SQL Tips and Tricks
Database Mail, SQL Error Messages, SQL Server Security

In my earlier blog, we saw one possible cause database mail error due to SSL settings. Today we will learn about another Database Mail Error. 

Read More
SMTP setup error dialog.

SQL SERVER – Database Mail Error: The SMTP Server Requires a Secure Connection or the Client was not Authenticated. The Server Response Was: 5.5.1

June 30, 2018
Pinal Dave
SQL Tips and Tricks
Database Mail, SQL Error Messages, SQL Server

Database Mail with Gmail failed: the SMTP server requires a secure connection or the client was not authenticated, 5.5.1. Here is how to fix it.

Read More
SQL Server sysmail_configuration table.

SQL SERVER – sp_readrequest – Long Running Process

March 20, 2017
Pinal Dave
SQL Performance
Database Mail, SQL Scripts, SQL Server, System Object

sp_readrequest kept showing up as a long running procedure. It is Database Mail waiting on its queue with a 600 second timeout, usually nothing to worry about.

Read More
A wooden ladder leaning against a whitewashed wall with one rung missing near the top.

SQL SERVER – Script level upgrade for database ‘master’ failed – There is already an object named ‘DatabaseMailUserRole’ in the database

January 23, 2017
Pinal Dave
SQL Tips and Tricks
Database Mail, SQL Error Messages, SQL Scripts, SQL Server, Starting SQL

After patching, script level Upgrade for master failed: there is already an object named ‘DatabaseMailUserRole’. Here is what caused it and how to fix it.

Read More
1 2 3 Next
  • Books
  • Testimonials
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com