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

 All Forums
 SQL Server 2012 Forums
 Transact-SQL (2012)
 Mail queued.

Author  Topic 

arkiboys
Master Smack Fu Yak Hacker

1433 Posts

Posted - 2015-03-25 : 10:20:20
hello,
Using the following sp, I was able to send email but now I see the message "Mail queued". do you know why please?

EXEC msdb.dbo.sp_send_dbmail
@profile_name = 'Email',
@recipients = 'emailaddress@somewhere.com',
@body = 'testing the send of email in 2012',
@subject = 'my data has been populated'

gbritton
Master Smack Fu Yak Hacker

2780 Posts

Posted - 2015-03-25 : 10:28:19
When you run the proc, the mail is queued for delivery. Actual delivery is an asynchronous process. The proc has no idea if the ultimate transmission was successful or not
Go to Top of Page
   

- Advertisement -