Root cause: For reports with inline images, the images will be generated as embedded image (data:image/xx). While sending mails, we will process this image using PreencodedMimeBodyPart. This internally triggers, "ImageDataContentHandler.writeTo()" which accepts only java.awt.image object instead of String. Thus, it throws error eventually
Workaround: In addition to "PreencodedMimeBodyPart", we are setting the data source and data handler so that, jakarta mail api doesn't lookup for a data handler.
Steps to apply:
1. Download the attached .fjar file corresponding to your build version.
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.
Compatible jar versions - 15150 (SDP)