SQL 2012 DATABASE Mail shows status "unsent"

We have Configured SQL 2012 server Enterprise on windows server 2012 R2 in our environment. We have configured database email profiles and it was working fine. Since one week we found the issue that we can not able to send emails from database.

when we check sysmail_allitems it shows status unsent.

We have verified below details till now.

1-Database Mail is enabled

2-mails are being sent by sysadmin account

3- Database Mail is started

4-I checked and mail server is accessible from SQL host(using ping ,telnet ServerName 25)

Kindly advice we are stuck here....!!
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ste5anSenior DeveloperCommented:
Look in the log:


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Deepak ChauhanSQL Server DBACommented:
Check into sysmail_event_log table for error details.

select * from msdb.dbo.sysmail_event_log
rigelnetAuthor Commented:
can you please provide me more details ? so that I can check more...
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

rigelnetAuthor Commented:
I have run below query but it show me old logs only when It was working. No logs for the current test emails which I have sent for the testing
select * from msdb.dbo.sysmail_event_log
Kindly suggest
ste5anSenior DeveloperCommented:
Then take a look in the unsent mails table.
Vitor MontalvãoMSSQL Senior EngineerCommented:
What the following command returns?
EXECUTE msdb.dbo.sysmail_help_queue_sp 

Open in new window

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.