Closed doebi closed 1 year ago
When sending mail throught the smtp connection, the file attachments have the prefix utf8" on their filename.
I send mails through this service: https://github.com/ddvk/rmfakecloud
The corresponding line of code is found here: https://github.com/ddvk/rmfakecloud/blob/master/internal/email/smtp.go#L84
The utf-8 prefix is based on RFC, a stackoverflow thread related to this: https://stackoverflow.com/questions/93551/how-to-encode-the-filename-parameter-of-content-disposition-header-in-http
go-proton-api by itself does not contain a SMTP server. Please open a ticket in the relevant project or contact proton customer support.
When sending mail throught the smtp connection, the file attachments have the prefix utf8" on their filename.
I send mails through this service: https://github.com/ddvk/rmfakecloud
The corresponding line of code is found here: https://github.com/ddvk/rmfakecloud/blob/master/internal/email/smtp.go#L84
The utf-8 prefix is based on RFC, a stackoverflow thread related to this: https://stackoverflow.com/questions/93551/how-to-encode-the-filename-parameter-of-content-disposition-header-in-http