配置:

       profile name

       account

调用:

       EXEC msdb.dbo.sp_send_dbmail

                   @profile_name=profile name

                   @recipients=recipient email address

                   @subject=subject

                   @body=body

                   @body_format='HTML'/Others

posted on 2010-02-05 11:06  长风一剑  阅读(114)  评论(0编辑  收藏  举报