SQL Management Studio does not send email alerts

I have a job in the SQL management studios to run a nightly backup.

In the notifications section I have it to email me when the job succeeds.

Even though the job is working correctly it is not sending out the me email.

I do have database mail setup and I can send test emails.


Thanks
laurenofisAsked:
Who is Participating?
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.

Mark BillExchange, AD, SQL, VMware, HPE, 3PAR, FUD, Anti MS Tekhnet, Pro EE, #1Commented:
Can you run message tracking from the exchange troubleshooting section on the mail server specified for database mail? this will help track down the mail.

Also you can try and telnet the mail server and replicate the sending of the mail manually.

You could also check to see if the SQL server has permission to relay through the exchange server!
0
Aneesh RetnakaranDatabase AdministratorCommented:
You need to set the default email profile for SQL Server agent (thru sql server agent properties -> alert) ; restart agent service to enable this
0

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
lcohanDatabase AnalystCommented:
Most of the time the easiest way to find out why mail is not going out is to check tha Database Mail Log via SSMS->Managament->right click Database Mail and select "View Database mail Log".
Also most of the time a simple mail service restart by running SQL below cleares simple database mail issues.

use msdb
go

exec msdb..sysmail_stop_sp;
GO
exec msdb..sysmail_start_sp;
GO


This is where your sent/unsent mails are:

use msdb
go

select * from msdb..sysmail_unsentitems
go

select top 100 * from msdb..sysmail_sentitems s
--where recipients like '%quickstart%'
--where subject like '%web%'
order by s.sent_date desc
go
0
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 2008

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.