开发者

How to change encoding of attachments from sp_send_dbmail?

开发者 https://www.devze.com 2023-03-31 04:37 出处:网络
Is there a way to change the encoding from default \'UniCode\' to UTF-8 while generating data attachments from sp_send_dbmail on SQL Server? I found that there used to be a flag \'ANSI_Attachment\' to

Is there a way to change the encoding from default 'UniCode' to UTF-8 while generating data attachments from sp_send_dbmail on SQL Server? I found that there used to be a flag 'ANSI_Attachment' to accomplish just that bu开发者_运维问答t it got removed in SP2... Not sure if it's true.


EXEC msdb.dbo.sysmail_configure_sp @parameter_name=N'DefaultAttachmentEncoding', @parameter_value=N'MIME', @description=N'Default attachment encoding'

0

精彩评论

暂无评论...
验证码 换一张
取 消