diff --git a/src/mail-app/mail/export/Exporter.ts b/src/mail-app/mail/export/Exporter.ts index 9cbe04df468..c78084f518d 100644 --- a/src/mail-app/mail/export/Exporter.ts +++ b/src/mail-app/mail/export/Exporter.ts @@ -202,10 +202,10 @@ export function mailToEml(mail: MailBundle): string { lines.push( "--------------79Bu5A16qPEYcVIZL@tutanota", "Content-Type: " + getCleanedMimeType(attachment.mimeType) + ";", - " name=" + base64Filename + "", + " name=\"" + base64Filename + "\"", "Content-Transfer-Encoding: base64", "Content-Disposition: attachment;", - " filename=" + base64Filename + "", + " filename=\"" + base64Filename + "\"", ) if (attachment.cid) {