You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having some problems with parsing emails when there is an image attached. It seems like the email sender (Microsoft Exchange) does not include Content-Type: text/plain; charset="iso-8859-1" (see "successful" email), but instead includes it embedded in the html of the email itself like: <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset= =3Diso-8859-1"> (see "failing" email)
If I manually set the charset in mail-parser.js to iso-8859-1 the "failing" email is decoded correctly and the expected output is received
I am having some problems with parsing emails when there is an image attached. It seems like the email sender (Microsoft Exchange) does not include
Content-Type: text/plain; charset="iso-8859-1"
(see "successful" email), but instead includes it embedded in the html of the email itself like:<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset= =3Diso-8859-1">
(see "failing" email)If I manually set the charset in
mail-parser.js
toiso-8859-1
the "failing" email is decoded correctly and the expected output is receivedFailing email
I have removed sensitive information
Successful email (no image attached)
I have removed sensitive information
The text was updated successfully, but these errors were encountered: