Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attachments has fileName undefined after parsing attachment with simpleParser (contentType: 'message/rfc822') #371

Open
Quesj opened this issue Jun 12, 2024 · 1 comment

Comments

@Quesj
Copy link

Quesj commented Jun 12, 2024

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?

@YogiHa
Copy link

YogiHa commented Jul 29, 2024

@Quesj did you find a way around it? Facing same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants