HiraokaHyperTools / msgreader

35 stars 9 forks source link

Any way to get attachments like file format #40

Closed rakeshrio closed 1 year ago

rakeshrio commented 1 year ago

image 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

rakeshrio commented 1 year ago

I solved