Link to home
Create AccountLog in
Avatar of sventhan
sventhanFlag for United States of America

asked on

msdb.dbo.sp_send_dbmail is not working

Experts -

I've this DB mail setup was working fine till yesterday and stopped sending report since this morning. But, the Alert notification working fine.

The SP ran fine and the reports generated in the specified location but the email was not sent. The JOB history says its all success.

How can I troubleshoot this issue?

Thanks,

~sve
Avatar of Raja Jegan R
Raja Jegan R
Flag of India image

Check for any errors related to Database mail by executing the below query:

select * from msdb.dbo.sysmail_event_log
Avatar of sventhan

ASKER

Thanks Jegan.

  description
The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2010-11-16T08:01:43).
Exception Message: Cannot send mails to mail server. (The operation has timed out.). )

The notifications I set up working fine (index maintenance, update stats etc.,).
But  these are some business reports with attachment is not working. The text file was created in it looks good.

The problem is not sending it by email.

Any thoughts...
dbmailIssue.txt
ASKER CERTIFIED SOLUTION
Avatar of Raja Jegan R
Raja Jegan R
Flag of India image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Awesone!

You're the man.
I mean Awesome!
Welcome..