sqlserver 使用database mail 发送邮件
EXEC sp_send_dbmail @profile_name='dbmaster@zhidiansoft.net',
@recipients='xxxxxxx@qq.com',
@subject='Test message',
@body='测试发送数据库邮件,是否成功.'
EXEC sp_send_dbmail @profile_name='dbmaster@zhidiansoft.net',
@recipients='xxxxxxx@qq.com',
@subject='Test message',
@body='测试发送数据库邮件,是否成功.'