1

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 but it got removed in SP2... Not sure if it's true.

android-developer
  • 1,574
  • 4
  • 20
  • 27

1 Answers1

0

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

Pavel Nefyodov
  • 876
  • 2
  • 11
  • 29