{"id":42662,"date":"2026-01-28T09:35:42","date_gmt":"2026-01-28T08:35:42","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/?p=42662"},"modified":"2026-01-29T11:51:46","modified_gmt":"2026-01-29T10:51:46","slug":"sql-server-2022-cu23-database-mail-is-broken-but-your-alerts-shouldnt-be","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/sql-server-2022-cu23-database-mail-is-broken-but-your-alerts-shouldnt-be\/","title":{"rendered":"SQL Server 2022 CU23: Database Mail is broken, but your alerts shouldn\u2019t be"},"content":{"rendered":"\n<p><em>&#8220;One single alerting email is missing, and all your monitoring feels deserted.&#8221;<\/em> <\/p>\n\n\n\n<p>This is the harsh lesson many SQL Server DBAs learned the hard way this week. If your inbox has been suspiciously quiet since your last maintenance window, don&#8217;t celebrate just yet: your instance might have simply lost its voice.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-cu23-the-poisoned-gift\">CU23: The poisoned gift<\/h3>\n\n\n\n<p>The <strong><a href=\"https:\/\/learn.microsoft.com\/en-us\/troubleshoot\/sql\/releases\/sqlserver-2022\/cumulativeupdate23\">Cumulative Update 23<\/a><\/strong> for SQL Server 2022 (KB5074819), released on January 15 2026, quickly became the &#8220;hot&#8221; topic on technical forums. The reason? A major regression that purely and simply breaks <strong><a href=\"https:\/\/learn.microsoft.com\/en-us\/sql\/relational-databases\/database-mail\/database-mail?view=sql-server-ver17\">Database Mail<\/a><\/strong>.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nCould not load file or assembly &#039;Microsoft.SqlServer.DatabaseMail.XEvents, Version=17.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91&#039; or one of its dependencies. The system cannot find the file specified.\n<\/pre><\/div>\n\n\n<p>This error message is the visible part of the iceberg. Beyond the technical crash, it is the silence of your monitoring that should worry you. The real danger here is that while the mailing engine fails, your SQL Agent jobs don&#8217;t necessarily report an error. Since the mail items are never even processed, they don&#8217;t appear in the <code>failed_items<\/code> or <code>unsent_items<\/code> views with typical error statuses. <strong>For most monitoring configurations, this means you stay completely unaware that your instance has lost its voice.<\/strong> You aren&#8217;t getting alerts, but everything looks fine on the surface.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Database Mail: The (Too) Quiet Hero<\/h3>\n\n\n\n<p>We often tend to downplay the importance of Database Mail, treating it as a minor utility. Yet, for many of us, it is the <strong>backbone of our monitoring<\/strong>. From SQL Agent job failure notifications to corruption alerts or disk space thresholds, Database Mail is a critical component. When it fails, your infrastructure visibility evaporates, leaving you flying blind in a rather uncomfortable technical fog.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Rollback or Status Quo?<\/h3>\n\n\n\n<p>While waiting for an official fix, the best way to protect your production remains a <code><strong>rollback<\/strong> <\/code>(guidelines available <a href=\"https:\/\/learn.microsoft.com\/en-us\/sql\/sql-server\/install\/uninstall-a-cumulative-update-from-sql-server?view=sql-server-ver17\" id=\"https:\/\/learn.microsoft.com\/en-us\/sql\/sql-server\/install\/uninstall-a-cumulative-update-from-sql-server?view=sql-server-ver17\">here<\/a>). Uninstalling a CU is never an easy task: it implies additional downtime and a fair amount of stress. However, staying in total darkness regarding your servers&#8217; health is a much higher risk. Microsoft has promised a hotfix &#8220;soon&#8221; but in the meantime, a server that reboots is better than a server that suffers in silence.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">The Light at the End of the Tunnel (is in the MSDB)<\/h3>\n\n\n\n<p>If a rollback is impossible due to SLAs or internal policies, remember that not all is lost. Even if the emails aren&#8217;t being sent, the information itself isn&#8217;t volatile. SQL Server continues to conscientiously log everything it wants to tell you inside the <code>msdb<\/code> system tables.<\/p>\n\n\n\n<p>You can query the following table to keep an eye on the alerts piling up:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: sql; title: ; notranslate\" title=\"\">\nSELECT mailitem_id, recipients, subject, body, send_request_date, sent_date\n FROM &#x5B;msdb].&#x5B;dbo].&#x5B;sysmail_mailitems]\n where sent_date is null\n and send_request_date &gt; &#039;2026-01-15 00:00:00.000&#039;\n<\/pre><\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"218\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2026\/01\/image-34-1024x218.png\" alt=\"\" class=\"wp-image-42680\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2026\/01\/image-34-1024x218.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2026\/01\/image-34-300x64.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2026\/01\/image-34-768x164.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2026\/01\/image-34.png 1037w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>It\u2019s less stylish than a push notification, but it\u2019s your final safety net to ensure your Log Shipping hasn&#8217;t flatlined or your backups haven&#8217;t devoured the last available Gigabyte.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-to-build-a-solid-home-made-quick-fix\">How to Build a Solid &#8220;Home-Made&#8221; Quick Fix<\/h2>\n\n\n\n<p>If you have an SMTP gateway reachable via PowerShell, you can bridge the gap using the native <code>Send-MailMessage<\/code> cmdlet. This approach effectively bypasses the broken <code>DatabaseMail.exe<\/code> by using the PowerShell network stack to ship your alerts.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Testing with Papercut<\/h3>\n\n\n\n<p>In a Lab environment, you likely don&#8217;t have a full-blown Exchange server. To test this script, I recommend using <strong><a href=\"https:\/\/github.com\/ChangemakerStudios\/Papercut-SMTP\/releases\/tag\/7.6.2\">Papercut<\/a><\/strong>. It acts as a local SMTP gateway that catches any outgoing mail and displays it in a UI without actually sending it to the internet. Simply run the Papercut executable, and it will listen on <code>localhost:25<\/code>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">The Recovery Script<\/h3>\n\n\n\n<p>For the purpose of this article&#8217;s demonstration, the following <a href=\"https:\/\/learn.microsoft.com\/en-us\/sql\/relational-databases\/administer-multiple-servers-using-central-management-servers?view=sql-server-ver17\">Central Management Server (CMS)<\/a> setup is used:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"235\" height=\"135\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2026\/01\/image-33.png\" alt=\"\" class=\"wp-image-42678\" \/><\/figure>\n<\/div>\n\n\n<p>Run the following script as a scheduled task every 15 minutes to replay any messages stuck in the <code>msdb<\/code> queue:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Import-Module -Name dbatools;\n\nSet-DbatoolsConfig -FullName 'sql.connection.trustcert' -Value $true;\n\n$cmsServer = \"SQLAGAD\\LAB01\"\n$cmsGroupName = \"LAB_AG\"\n$smtpServer = \"localhost\"\n\ntry {\n    $instances = Get-DbaRegServer -SqlInstance $cmsServer -ErrorAction Stop | \n                 Where-Object group -match $cmsGroupName;\n\n    if (-not $instances) {\n        Write-Warning \"No instances found in the group '$cmsGroupName' on $cmsServer.\"\n        return\n    }\n\n    foreach ($server in $instances) {\n        Write-Host \"Processing: $($server.Name)\" -ForegroundColor Cyan\n        \n        $query = \"SELECT SERVERPROPERTY('ServerName') SQLInstance, * FROM &#091;msdb].&#091;dbo].&#091;sysmail_mailitems] where sent_date is null and send_request_date &gt; DATEADD(minute, -15, GETDATE())\"\n        \n        $blockedMails = Invoke-DbaQuery -SqlInstance $server.Name -Database msdb -Query $query -ErrorAction SilentlyContinue\n\n        if ($blockedMails) {\n            foreach ($mail in $blockedMails) {\n                Send-MailMessage -SmtpServer $smtpServer `\n                                 -From \"MSSQLSecurity@lto.com\" `\n                                 -To $mail.recipients `\n                                 -Subject \"&#091;CU23-RECOVERY] $($mail.subject)\" `\n                                 -Body $mail.body `\n                                 -Priority High\n\n                Write-Host \"Successfully re-sent: $($mail.subject)\" -ForegroundColor Green\n            }\n        }\n    }\n}\ncatch {\n    Write-Error \"Error accessing the CMS: $($_.Exception.Message)\"\n}<\/code><\/pre>\n\n\n\n<p>Resulting alerts in the Papercut mailbox:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1012\" height=\"269\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2026\/01\/image-32.png\" alt=\"\" class=\"wp-image-42667\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2026\/01\/image-32.png 1012w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2026\/01\/image-32-300x80.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2026\/01\/image-32-768x204.png 768w\" sizes=\"auto, (max-width: 1012px) 100vw, 1012px\" \/><\/figure>\n<\/div>\n\n\n<p>By leveraging the <a href=\"https:\/\/dbatools.io\/\">dbatools<\/a> module and the native <code>Send-MailMessage<\/code> function, we can create a &#8220;recovery bridge.&#8221; The following script is designed to be run as a scheduled task (e.g., every 15 minutes). It scans your entire infrastructure via your <code>CMS<\/code>, identifies any messages that failed to send in the last 15-minute window, and replays them through PowerShell\u2019s network stack instead of SQL Server\u2019s.<\/p>\n\n\n\n<p><strong>Note on Data Integrity:<\/strong> You will notice that this script intentionally performs no <code>UPDATE<\/code> or <code>DELETE<\/code> operations on the <code>msdb<\/code> tables. We chose to treat the system database as a read-only &#8216;source of truth&#8217; to avoid any further corruption or inconsistency while the instance is already in an unstable state.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-let-s-wrap-up\">Let&#8217;s wrap-up !<\/h2>\n\n\n\n<p>Until Microsoft releases an official fix for this capricious CU23, this script acts as a life support system for your monitoring alerts. It is simple, effective, and most importantly, it prevents the Monday morning nightmare of discovering failed weekend backups that went unnoticed because the notification engine was silent.<\/p>\n\n\n\n<p>So, if your SQL alerts prefer staying cozy in the <code>msdb<\/code> rather than doing their job, you now have the bridge to get them moving. Set up the scheduled task, run the script, and go grab a coffee, your emails are finally back on track.<\/p>\n\n\n\n<p><strong>Until the hotfix lands, keep your scripts ready!<\/strong><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>SQL Server 2022 CU23 bug freezes your emails? Bypass Database Mail using dbatools and PowerShell to resend blocked alerts.<\/p>\n","protected":false},"author":157,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[229,99],"tags":[1133,724,2553],"type_dbi":[2874],"class_list":["post-42662","post","type-post","status-publish","format-standard","hentry","category-database-administration-monitoring","category-sql-server","tag-cumulative-update","tag-mail","tag-sql-server-2022","type-sql-server"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>SQL Server 2022 CU23: Database Mail is broken, but your alerts shouldn\u2019t be - dbi Blog<\/title>\n<meta name=\"description\" content=\"SQL Server 2022 CU23 bug freezes your emails? Bypass Database Mail using dbatools and PowerShell to resend blocked alerts.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/sql-server-2022-cu23-database-mail-is-broken-but-your-alerts-shouldnt-be\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SQL Server 2022 CU23: Database Mail is broken, but your alerts shouldn\u2019t be\" \/>\n<meta property=\"og:description\" content=\"SQL Server 2022 CU23 bug freezes your emails? Bypass Database Mail using dbatools and PowerShell to resend blocked alerts.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/sql-server-2022-cu23-database-mail-is-broken-but-your-alerts-shouldnt-be\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-01-28T08:35:42+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-01-29T10:51:46+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2026\/01\/image-34.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1037\" \/>\n\t<meta property=\"og:image:height\" content=\"221\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Louis Tochon\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Louis Tochon\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-2022-cu23-database-mail-is-broken-but-your-alerts-shouldnt-be\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-2022-cu23-database-mail-is-broken-but-your-alerts-shouldnt-be\\\/\"},\"author\":{\"name\":\"Louis Tochon\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/e4195b0cb120295b3407a502c23e75b6\"},\"headline\":\"SQL Server 2022 CU23: Database Mail is broken, but your alerts shouldn\u2019t be\",\"datePublished\":\"2026-01-28T08:35:42+00:00\",\"dateModified\":\"2026-01-29T10:51:46+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-2022-cu23-database-mail-is-broken-but-your-alerts-shouldnt-be\\\/\"},\"wordCount\":807,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-2022-cu23-database-mail-is-broken-but-your-alerts-shouldnt-be\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2026\\\/01\\\/image-34-1024x218.png\",\"keywords\":[\"Cumulative Update\",\"Mail\",\"SQL Server 2022\"],\"articleSection\":[\"Database Administration &amp; Monitoring\",\"SQL Server\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-2022-cu23-database-mail-is-broken-but-your-alerts-shouldnt-be\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-2022-cu23-database-mail-is-broken-but-your-alerts-shouldnt-be\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-2022-cu23-database-mail-is-broken-but-your-alerts-shouldnt-be\\\/\",\"name\":\"SQL Server 2022 CU23: Database Mail is broken, but your alerts shouldn\u2019t be - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-2022-cu23-database-mail-is-broken-but-your-alerts-shouldnt-be\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-2022-cu23-database-mail-is-broken-but-your-alerts-shouldnt-be\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2026\\\/01\\\/image-34-1024x218.png\",\"datePublished\":\"2026-01-28T08:35:42+00:00\",\"dateModified\":\"2026-01-29T10:51:46+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/e4195b0cb120295b3407a502c23e75b6\"},\"description\":\"SQL Server 2022 CU23 bug freezes your emails? Bypass Database Mail using dbatools and PowerShell to resend blocked alerts.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-2022-cu23-database-mail-is-broken-but-your-alerts-shouldnt-be\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-2022-cu23-database-mail-is-broken-but-your-alerts-shouldnt-be\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-2022-cu23-database-mail-is-broken-but-your-alerts-shouldnt-be\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2026\\\/01\\\/image-34.png\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2026\\\/01\\\/image-34.png\",\"width\":1037,\"height\":221},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/sql-server-2022-cu23-database-mail-is-broken-but-your-alerts-shouldnt-be\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SQL Server 2022 CU23: Database Mail is broken, but your alerts shouldn\u2019t be\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\",\"name\":\"dbi Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/e4195b0cb120295b3407a502c23e75b6\",\"name\":\"Louis Tochon\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ce0ee48c64e763e6c4076e21c80729d15bc4493288aeb8695125c69082100e10?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ce0ee48c64e763e6c4076e21c80729d15bc4493288aeb8695125c69082100e10?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ce0ee48c64e763e6c4076e21c80729d15bc4493288aeb8695125c69082100e10?s=96&d=mm&r=g\",\"caption\":\"Louis Tochon\"},\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/author\\\/louistochon\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"SQL Server 2022 CU23: Database Mail is broken, but your alerts shouldn\u2019t be - dbi Blog","description":"SQL Server 2022 CU23 bug freezes your emails? Bypass Database Mail using dbatools and PowerShell to resend blocked alerts.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbi-services.com\/blog\/sql-server-2022-cu23-database-mail-is-broken-but-your-alerts-shouldnt-be\/","og_locale":"en_US","og_type":"article","og_title":"SQL Server 2022 CU23: Database Mail is broken, but your alerts shouldn\u2019t be","og_description":"SQL Server 2022 CU23 bug freezes your emails? Bypass Database Mail using dbatools and PowerShell to resend blocked alerts.","og_url":"https:\/\/www.dbi-services.com\/blog\/sql-server-2022-cu23-database-mail-is-broken-but-your-alerts-shouldnt-be\/","og_site_name":"dbi Blog","article_published_time":"2026-01-28T08:35:42+00:00","article_modified_time":"2026-01-29T10:51:46+00:00","og_image":[{"width":1037,"height":221,"url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2026\/01\/image-34.png","type":"image\/png"}],"author":"Louis Tochon","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Louis Tochon","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-2022-cu23-database-mail-is-broken-but-your-alerts-shouldnt-be\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-2022-cu23-database-mail-is-broken-but-your-alerts-shouldnt-be\/"},"author":{"name":"Louis Tochon","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/e4195b0cb120295b3407a502c23e75b6"},"headline":"SQL Server 2022 CU23: Database Mail is broken, but your alerts shouldn\u2019t be","datePublished":"2026-01-28T08:35:42+00:00","dateModified":"2026-01-29T10:51:46+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-2022-cu23-database-mail-is-broken-but-your-alerts-shouldnt-be\/"},"wordCount":807,"commentCount":0,"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-2022-cu23-database-mail-is-broken-but-your-alerts-shouldnt-be\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2026\/01\/image-34-1024x218.png","keywords":["Cumulative Update","Mail","SQL Server 2022"],"articleSection":["Database Administration &amp; Monitoring","SQL Server"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/sql-server-2022-cu23-database-mail-is-broken-but-your-alerts-shouldnt-be\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-2022-cu23-database-mail-is-broken-but-your-alerts-shouldnt-be\/","url":"https:\/\/www.dbi-services.com\/blog\/sql-server-2022-cu23-database-mail-is-broken-but-your-alerts-shouldnt-be\/","name":"SQL Server 2022 CU23: Database Mail is broken, but your alerts shouldn\u2019t be - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-2022-cu23-database-mail-is-broken-but-your-alerts-shouldnt-be\/#primaryimage"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-2022-cu23-database-mail-is-broken-but-your-alerts-shouldnt-be\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2026\/01\/image-34-1024x218.png","datePublished":"2026-01-28T08:35:42+00:00","dateModified":"2026-01-29T10:51:46+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/e4195b0cb120295b3407a502c23e75b6"},"description":"SQL Server 2022 CU23 bug freezes your emails? Bypass Database Mail using dbatools and PowerShell to resend blocked alerts.","breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-2022-cu23-database-mail-is-broken-but-your-alerts-shouldnt-be\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/sql-server-2022-cu23-database-mail-is-broken-but-your-alerts-shouldnt-be\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-2022-cu23-database-mail-is-broken-but-your-alerts-shouldnt-be\/#primaryimage","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2026\/01\/image-34.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2026\/01\/image-34.png","width":1037,"height":221},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-2022-cu23-database-mail-is-broken-but-your-alerts-shouldnt-be\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"SQL Server 2022 CU23: Database Mail is broken, but your alerts shouldn\u2019t be"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/e4195b0cb120295b3407a502c23e75b6","name":"Louis Tochon","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ce0ee48c64e763e6c4076e21c80729d15bc4493288aeb8695125c69082100e10?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ce0ee48c64e763e6c4076e21c80729d15bc4493288aeb8695125c69082100e10?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ce0ee48c64e763e6c4076e21c80729d15bc4493288aeb8695125c69082100e10?s=96&d=mm&r=g","caption":"Louis Tochon"},"url":"https:\/\/www.dbi-services.com\/blog\/author\/louistochon\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/42662","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/157"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=42662"}],"version-history":[{"count":23,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/42662\/revisions"}],"predecessor-version":[{"id":42691,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/42662\/revisions\/42691"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=42662"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=42662"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=42662"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=42662"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}