September 16, 2010 at 3:09 pm
Hi Folks
when using: EXEC msdb.dbo.sp_send_dbmail
it says "Mail queued"
Can someone tell me where that info is stored and where i can find the status on the mail sent?
Thanks
Jim
September 16, 2010 at 3:20 pm
What you're looking for is sysmail_allitems.
select * from msdb.dbo.sysmail_allitems
Here's a reference: http://msdn.microsoft.com/en-us/library/ms191278(v=SQL.90).aspx
- Jeff
September 16, 2010 at 3:21 pm
Thanks Jeff
will take a look
Jim
September 16, 2010 at 3:48 pm
there are also:
dbo.sysmail_faileditems
dbo.sysmail_sentitems
dbo.sysmail_unsentitems
Umm... can you guess what they might be showing?
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
September 16, 2010 at 4:13 pm
Thanks WayneS
Jim
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply