Closed rakeshrio closed 1 year ago
Hi Kenjiuno,
Iam using getAttachment() method to extract the attachments of msg like below: const MsgAttachment = msgReaderA.getAttachment(msgFileB.attachments[i])
This is the output like proxyObject msgAttachment: {fileName: 'knw-manage-notifications-en.png', content: Uint8Array(2593)}
Is there any way to get like File ? For Example like below:
content: File {name: 'External Broadcast - User Preferences - Copy.png', lastModified: 1686897154797, lastModifiedDate: Fri Jun 16 2023 08:32:34 GMT+0200, size: 1234}
Thanks in advance
I solved
Hi Kenjiuno,
Iam using getAttachment() method to extract the attachments of msg like below: const MsgAttachment = msgReaderA.getAttachment(msgFileB.attachments[i])
This is the output like proxyObject msgAttachment: {fileName: 'knw-manage-notifications-en.png', content: Uint8Array(2593)}
Is there any way to get like File ? For Example like below:
content: File {name: 'External Broadcast - User Preferences - Copy.png', lastModified: 1686897154797, lastModifiedDate: Fri Jun 16 2023 08:32:34 GMT+0200, size: 1234}
Thanks in advance