配置好了数据库邮件,选择发送测试邮件,可以正常收到邮件。sa用户,用以下代码发送,却收不到邮件,为何?没有提示出错,提示:邮件已排队。
EXEC sp_send_dbmail @profile_name='SQLServer-MailServer',
@recipients = '[email protected]',
@subject = '邮件测试!!!',
@body = 'hello,world!'
EXEC sp_send_dbmail @profile_name='SQLServer-MailServer',
@recipients = '[email protected]',
@subject = '邮件测试!!!',
@body = 'hello,world!'
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货