这是我正在使用的 sql-server 版本:
Microsoft SQL Server 2016 (RTM-GDR) (KB4019088) - 13.0.1742.0 (X64) 2017 年 7 月 5 日 23:41:17 版权所有 (c) Microsoft Corporation Enterprise Edition (64-bit) on Windows Server 2016 Standard 6.3 (Build 14393: )
我面临的问题是数据库电子邮件。在浏览了很多文章之后,我仍然不走运。也尝试重置配置:
exec sp_configure 'show advanced options',1
RECONFIGURE WITH OVERRIDE
sp_configure 'Database Mail XPs',1
RECONFIGURE
SELECT is_broker_enabled FROM sys.databases WHERE name = 'msdb'
1
EXEC msdb.dbo.sysmail_help_queue_sp @queue_type = 'mail';
queue_type 长度 state last_empty_rowset_time last_activated_time
邮件 15 未激活 2018-04-05 07:02:12.260 2018-04-05 07:02:12.247
还检查了 sql-server 代理下的警报系统。一切看起来都很好。不知道哪里不好。msdb.dbo.sysmail_allitems 报告的已发送状态为“未发送”。有人可以帮帮我吗。