Mail Fetching schedule is stopped when connection failure happens during mail deletion

Mail Fetching schedule is stopped when connection failure happens during mail deletion

Mail Fetching schedule is stopped when connection failure happens during mail deletion.

Error Trace:

[11:49:57:638]|[10-23-2021]|[com.adventnet.servicedesk.helpdesk.mail.task.MailFetchingTask]|[INFO]|[276]: delete mode start|
[11:49:57:864]|[10-23-2021]|[SYSERR]|[INFO]|[276]: com.manageengine.servicedesk.mailutils.MailException: Exception while setting delete flag|
[11:49:57:864]|[10-23-2021]|[SYSERR]|[INFO]|[276]: at com.adventnet.servicedesk.helpdesk.mail.task.MailFetchingTask.emailThreadOfEWS(MailFetchingTask.java:560)|
[11:49:57:864]|[10-23-2021]|[SYSERR]|[INFO]|[276]: at
..........
..........
[11:49:57:864]|[10-23-2021]|[SYSERR]|[INFO]|[276]: at java.lang.Thread.run(Thread.java:748)|
[11:49:57:864]|[10-23-2021]|[SYSERR]|[INFO]|[276]: Caused by: microsoft.exchange.webservices.data.core.exception.service.remote.ServiceResponseException: An internal server error occurred. Try again later., This connection to Store is dead|

Fix:
To identify the above issue as connectivity issue added the error message "This connection to Store is dead" internally so that this excepction will be considered as connectivity exception and current schedule alone will be skipped

Reference Ticket: 

Files Modified:
<SDP>\helpdesk\src\library\com\manageengine\servicedesk\mailutils\MailAPI.java

Jar Compatibility :
    11309 SDP Build version

                New to ADManager Plus?

                  New to ADSelfService Plus?

                    • Related Articles

                    • 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 ...
                    • Fix JAR for Parse Error Exception Raised during Mail Fetching

                      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 ...
                    • 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 ...
                    • 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: ...