Fix JAR for Parse Error Exception Raised during Mail Fetching

Fix JAR for Parse Error Exception Raised during Mail Fetching

Build Compatibility : 12007

Issue :
      Some mail are fetched and created as ticket without description due to message corruption temporarily. The issue is can be identified with the below trace. 

Fix : 
      The issue is not recreated when the mail is skipped to next schedule and fetched again.

Error Trace :
  1. [10:02:11:958]|[09-01-2022]|[SYSOUT]|[INFO]|[1378]: -ERR Message corrupted|
  2. [10:02:11:958]|[09-01-2022]|[com.manageengine.servicedesk.mail.core.ProcessMailMessage]|[INFO]|[1378]: com.adventnet.servicedesk.mailutils : processMailContent()|
  3. [10:02:11:958]|[09-01-2022]|[com.manageengine.servicedesk.mail.core.ProcessMailMessage]|[SEVERE]|[1378]: javax.mail.MessagingException|
  4. [10:02:11:958]|[09-01-2022]|[com.manageengine.servicedesk.mail.core.ProcessMailMessage]|[SEVERE]|[1378]: Exception in multipart/* - mp.getCount()......|
  5. [10:02:11:958]|[09-01-2022]|[SYSERR]|[INFO]|[1378]: javax.mail.MessagingException: No inputstream from datasource;
  6.   nested exception is:
  7. java.io.IOException: can't retrieve message #1 in POP3Message.getContentStream|
  8. [10:02:11:958]|[09-01-2022]|[SYSERR]|[INFO]|[1378]:  at javax.mail.internet.MimeMultipart.parse(MimeMultipart.java:600)|


FJAR Description :
  1. FJAR Handles the parse error mentioned above while fetching mails by catching the messaging exception, The same mail will be fetched in the next schedule without any error.

      New to ADSelfService Plus?

        Resources

            • Related Articles

            • Debug JAR for Exception Trace While Parse Error Exception Raised during Mail Fetching

              Build Compatibility : 12007 FJAR Description : FJAR Handles the parse error while fetching mails by catching the messaging exception, notifying the administrator & technicians (Configured in Notification Rules - Send when Application Error Occurs). ...
            • Mail Fetching Stopped Due to Inline Image Handling

              Issue Cause : While fetching a mail, in certain mail servers, cid of inline image is not parsed correctly. Once inline stream is converted to image, cid in src attr will be replaced with image url. cid for uploaded inline image in mail content is not ...
            • Failure during Zia Reopen prediction process stops the mail fetching schedule

              When the requester replies to closed/resolved requests with empty content or if there is no proper content except the content of the parent mail, then no content will be available for zia reopen prediction process and an exception will be ...
            • Troubleshooting Oauth configuration for mail server settings

              Oauth in ServiceDesk Plus / AssetExplorer for Mail SDP supports Oauth configuration for Office365 and GSuite mailboxes since 11106 build. Office365 mailboxes can be configured with Oauth authentication using EWS (since 11106) and IMAP / SMTP (since ...
            • List of mail fetching issues and solutions

              Scenario 1 : Mail fetching issue due to Invalid or No PKIX certificate .   Log traces for Mail Fetching  issues Exception when connecting to store.|javax.mail.MessagingException: sun.security.validator.ValidatorException: PKIX path building failed: ...