About 752,000 results
Open links in new tab
  1. Database mail: Mail queued, not delivered - SQL Server

    Feb 28, 2023 · Applies to: SQL Server Azure SQL Managed Instance. This topic describes how to troubleshoot a problem where e-mail messages are successfully queued, but the messages …

  2. sql server - Check If sp_send_dbmail Was Successful - Stack Overflow

    Feb 8, 2016 · Use the below query to get details for all emails sent the same date: And here is the complete query to get all the failed emails from the past 24 hours: items.recipients , …

  3. Troubleshoot Database Mail issues - SQL Server | Microsoft Learn

    Jan 17, 2025 · Describes how to configure Database Mail and send the test mail. Provides troubleshooting methods for the Database Mail issues.

  4. sysmail_help_queue_sp (Transact-SQL) - SQL Server

    Nov 19, 2024 · There are two queues in Database Mail: the mail queue and status queue. The mail queue stores mail items that are waiting to be sent. The status queue stores the status of …

  5. Check How Many Mail Items are in the Queue in Database Mail in SQL

    Sep 2, 2020 · In SQL Server, you can use the sysmail_help_queue_sp stored procedure on the msdb database to see how many mail items are in the queue, the status of the queue, and …

  6. Clearing db mail queue in sql server - Stack Overflow

    Apr 26, 2016 · When I remove the query, and send an empty mail, it gets stuck in mail queue. EXEC [MSDB].dbo.sp_send_dbmail @profile_name='Email Test', @recipients='[email …

  7. Check the Status of the Database Mail Queues in SQL Server (T-SQL)

    Sep 23, 2020 · In SQL Server, you can use the sysmail_help_status_sp stored procedure on the msdb database to check the status of the Database Mail queues. Example. To return the …

  8. How to Stop/Start the Database Mail Queue in SQL Server (T-SQL)

    Oct 13, 2020 · If you’re using Database Mail in SQL Server, you may occasionally need to stop or start the mail queue. You can do this with T-SQL by using the sysmail_stop_sp stored …

  9. Mail queued but not delivered in SQL Server 2014

    Apr 10, 2017 · I am trying to send the result of a SQL query through email using SQL Server 2014. The problem is that the e-mails are getting queued, but are not delivered to the …

  10. Database Mail Queue stuck in INACTIVE State - SQLServerCentral

    Mar 23, 2012 · I execute the following statement to check the status of Database Mail: EXEC msdb.dbo.sysmail_help_queue_sp @queue_type = 'mail'; The mail queue should have the …

  11. Some results have been removed
Refresh