Skip to content

Fix incoming emails body encoding

Vitali Tatarintev requested to merge 386855-fix-service-desk-email-encoding into master

What does this MR do and why?

Fix incoming emails body encoding

Undo force encoding to UTF-8 for emails with encoding other than UTF-8

Fixes #386855 (closed)

The bug was introduced in !89302 (merged)

Screenshots or screen recordings

Before After
Screenshot_2023-06-08_at_12.15.19 Screenshot_2023-06-08_at_12.15.30

How to set up and validate locally

  1. Configure and setup MailRoom and Service desk as described here.

  2. Use Outlook on Windows machine to send an email using Central European (ISO) encoding (aka ISO-8859-2).

    • Important: We need to use a windows machine because the option to change email's encoding is disabled on MacOS Outlook.
    • Important: You need to purchase a Microsoft Office subscription to be able to use Outlook (or use a trial period).
  3. Send an email _outlook_encoding_Screenshot_2023-06-08_115712

  4. Visit http://127.0.0.1:3000/<namespace>/<project>/-/issues/service_desk

  5. Find and check created Service Desk issue

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports