Here is the sql-server version I'm using:
Microsoft SQL Server 2016 (RTM-GDR) (KB4019088) - 13.0.1742.0 (X64) Jul 5 2017 23:41:17 Copyright (c) Microsoft Corporation Enterprise Edition (64-bit) on Windows Server 2016 Standard 6.3 (Build 14393: )
The issue I'm facing is with database email. After going through a lot of articles, still I'm out of luck. Tried to reset the config as well:
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 length state last_empty_rowset_time last_activated_time
mail 15 INACTIVE 2018-04-05 07:02:12.260 2018-04-05 07:02:12.247
Also checked the Alert-System under sql-server agent. All looks fine. Not sure where things are not well. Sent status reported by msdb.dbo.sysmail_allitems is "unsent". Can someone please help me out.