6
我格式化了sp_send_dbmail以發送HTML格式的電子郵件。但它是用HTML代碼發送郵件。sp_send_dbmail中的HTML格式
下面是我用
EXEC msdb.dbo.sp_send_dbmail @recipients=N'*****@********.com',
@body= '<font color="green" face="arial"><i>
Testing<br /> </i></font><hr />',
@subject = 'SQL Server Trigger Mail',
@profile_name = 'DBMailProfile1'