Open mechadioz opened 3 years ago
I am trying to attach a zip file to eml body, I am able to add the same but not able to open it. Seems like the file is corrupted. This is how I am using to add attachment. Please help me with correcting the same.
attachments: [ { name: "MyFile.zip", contentType: "application/zip", contentDisposition: 'attachment; filename="MyFile.zip"', data: myBase64String, inline: true, }, ],
I am trying to attach a zip file to eml body, I am able to add the same but not able to open it. Seems like the file is corrupted. This is how I am using to add attachment. Please help me with correcting the same.
attachments: [ { name: "MyFile.zip", contentType: "application/zip", contentDisposition: 'attachment; filename="MyFile.zip"', data: myBase64String, inline: true, }, ],