Attachments has fileName undefined after parsing attachment with simpleParser (contentType: 'message/rfc822')
I am trying to parse emails with a different set of attachments. One of the attachments are .msg/.eml files. Sometimes the simpleParser returns fileName: "undefined".
The MIME contents of the email before parsing are good. The only correlation I could find is that this (sometimes) happens when the attached email has contentType: 'message/rfc822'.
The file is not corrupted, only the fileName doesn't get properly parsed by simpleParser. As the company I am working for doesn't allow sharing sensitive information I can't provide the email it happens with. But I hope someone has the same issue or this might be a known bug?
@Quesj did you find a way around it? Facing same issue
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue was closed because it has been stalled for 15 days with no activity.