Subject Decoding Issue: Some of the Email Subjects are not Decoded Properly During Mail Fetching

Subject Decoding Issue: Some of the Email Subjects are not Decoded Properly During Mail Fetching

Info
Issue:
      While fetching emails, some subjects are not decoded properly when they are encoded with both Base64 and Quoted-Printable encoding.

Here is the encoded subject string:
=?iso-8859-9?Q?Operasyon_M=FCd=FCr=FC_=D6zer_Kaplan_Mail_Yurt_D=FD=FE=FD_?=
=?iso-8859-9?B?WWF6/f5tYSBp52luIGHn/WxtYXP9?=

The Highlighted "Q" implies Quoted-Printable and the "B" implies Base64.

After decoding, the subject appears as:
Operasyon Müdürü Özer Kaplan Mail Yurt Dışı WWF6/f5tYSBp52luIGHn/WxtYXP9

However, the actual subject should be:
Operasyon Müdürü Özer Kaplan Mail Yurt Dışı Yazışma için açılması


Idea
Fix:
Apply the provided fix JAR file to address the issue.

Warning
Note:
Before applying the .fjar file, kindly verify its compatibility in the "Jar Compatibility" section below.

Notes
Steps to apply the fix:
  1. Download the attached .fjar file.
  2. Click here for steps to apply the .fjar file.
  3. Restart the application service.
  4. If the issue occurs again, enable the email debug in the application, recreate the issue after enabling the email debug then immediately zip the logs (<server_home>\logs folder. For eg: C:\Program Files\ManageEngine\ServiceDesk\logs folder) and share it with us for analysis. If the size of the log file is huge, you can send it to us using our FTP link https://bonitas2.zohocorp.com/. Select the product as "ServiceDesk Plus" and provide the proper ticket number.
Alert
Jar Compatibility:
Build
Compatible Jar
14820
14820_subject_decode.fjar





                  New to ADSelfService Plus?