Closed
Description
When sending attachments with accents in the file name, SendGrid responds with the following error:
<result>
<message>error</message>
<errors>
<error>Parameter =?utf-8?B?ZmlsZXNbTVBHw5bDicOLLnBkZl0=?= is not utf8</error>
</errors>
</result>
Sample code for adding the attachment to reproduce the error above is:
mailMessage.AddAttachment(fs, "MPGÖÉË.pdf");
Is this a bug in the library or with SendGrid? Or should the file name be encoded or escaped in some way?
Thanks.