tsql - How can I set a custom email header when using sp_send_dbmail from MS SQL Server? -
i'm using t-sql send email attachment stored procedure:
exec @return_status = msdb.dbo.sp_send_dbmail @profile_name = 'profilename', @recipients = @recipients, @body = @mailbody, @subject = @subject, @file_attachments = @full_attachment_filename
i set custom header on email being sent. there way using sp_send_dbmail
stored procedure?
more info: sql server version 2005, , it's sending email through microsoft exchange server (2003).
the default sp_send_dbmail not have ability edit header information per question...
i know because can see input parameters , code definition:
use [msdb] exec sp_help sp_send_dbmail
you however, edit profile replies (auto or otherwise) go email address like: donotreply@youremailaddress.co.uk or leave blank?
Comments
Post a Comment