MIME-encoded email headers not decoded (e.g. =?UTF-8?B?...?= shown literally)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mfr
    Member
    • Jul 2021
    • 53

    MIME-encoded email headers not decoded (e.g. =?UTF-8?B?...?= shown literally)

    Hi everyone,
    I’ve noticed that incoming emails, especially from devices like FritzBox routers, sometimes contain MIME-encoded headers (e.g. Subject that look like this:
    Code:
    =?UTF-8?B?ZmI3NTkwIGVkZ2U=?=
    Instead of seeing the decoded string (fb7590 edge in this case), EspoCRM displays the encoded form literally. While the MIME encoding is technically correct and RFC-compliant (even if the content itself is plain ASCII), I would expect EspoCRM to decode this automatically – as most mail clients do.

    Is there a way to enable or enforce decoding of MIME-encoded words in email headers (especially the subject)?

    Any hints regarding configuration options, extensions, or relevant files to look at would be much appreciated. Alternatively, is this a known limitation or a bug?

    Thanks in advance!
    Martin
  • yuri
    Member
    • Mar 2014
    • 8872

    #2
    Please check our bug report rules: https://forum.espocrm.com/forum/bug-...before-posting

    It could be an issue in the latest version of the zbateson/mail-mime-parser library.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment


    • yuri
      yuri commented
      Editing a comment
      We observed a from-address encoding issue in some emails after we upgraded the lib to the latest version.

    • mfr
      mfr commented
      Editing a comment
      Thanks yuri. The first upcoming was around the Sep., 18th 2024 in my EMails. For your information.
  • yuri
    Member
    • Mar 2014
    • 8872

    #3
    Could you provide an original content of some problem email? It can be useful if we report the issue upstream.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    Working...