RETAILREALM
asked on
how to get Sql Database Email confirmation status
Hi Experts,
I have created a scheduled job, which sends emails using msdb.dbo.sp_send_dbmail.
I can successfully send emails, now I want to find whether that email is been sent sucessfully or not, and it is delived.
I can get a sent_status from msdb.dbo.sysmail_mailItems table, but I want to have the exact delivery status.
Is any way I can find this ?
I have created a scheduled job, which sends emails using msdb.dbo.sp_send_dbmail.
I can successfully send emails, now I want to find whether that email is been sent sucessfully or not, and it is delived.
I can get a sent_status from msdb.dbo.sysmail_mailItems
Is any way I can find this ?
ASKER
Hope I am not missing something there,
but can you specify how I can get that , in 10 emails these 9 are sent , 1 is in queue, 8 are successfully delivered and 1 is failed.
I cant see any clue by using above store procedure.
Thanks, please correct me if I am wrong.
but can you specify how I can get that , in 10 emails these 9 are sent , 1 is in queue, 8 are successfully delivered and 1 is failed.
I cant see any clue by using above store procedure.
Thanks, please correct me if I am wrong.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
EXECUTE msdb.dbo.sysmail_help_queu
GO
more info on:
http://technet.microsoft.com/en-us/library/ms187400.aspx