I tried to parse rfc5322 example A11 with gomail.EMLToMsgFromString(..) and the method returned the errror failed to parse EML contents: failed to parse EML body parts: failed to extract content type: mime: no media typ.
Are there known limitations to the parser I am not aware of or is this a bug?
Thanks for the report @Henning1. The EML parser is fairly new and probably has some cases I didn't consider. This is likely an oversight. I'll have a look at the example and provide a fix soon.
Description
Hi,
I tried to parse rfc5322 example A11 with
gomail.EMLToMsgFromString(..)
and the method returned the errrorfailed to parse EML contents: failed to parse EML body parts: failed to extract content type: mime: no media typ
.Are there known limitations to the parser I am not aware of or is this a bug?
Best, Henning
To Reproduce
gomail.EMLToMsgFromString(..)
Expected behaviour
Should parse successfully
Screenshots
No response
Attempted Fixes
No response
Additional context
No response