Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 Tracking DBMail to what called it
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

1 Posts

Posted - 08/20/2014 :  10:26:48  Show Profile  Reply with Quote
Greetings folks,

I recently created a stored procedure that runs at the end of the day with a summary of dbmail failures (if at least one exists for the past 24 hours).

I received an e-mail today indicating that we had a failure yesterday which was due to a malformed destination e-mail address. That's an easy fix - IF I could find the stored procedure that the malformed address is in - assuming it's a stored procedure, though that may not be a safe assumption.

I checked jobs that ran at around the time of the failure but I don't see anything listed, and there hasn't been a historical failure at around the time, so it's possible it's a one-time deal but I would still like to be able to discern what generated it to begin with.

I thought that there might be one of the msdb sysmail* tables that would show what proc may have called dbmail, but I couldn't find anything like that.

Anyone have any experience with this that might be able to help shed some light?
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000