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 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 ...
                    • Mail fetching - deleted flag issue

                      This message will be thrown, when you have provided a shared mailbox. The concept here is, SDP MSP reads the mail from the configured mailbox and adds it as a request. During the time, if some other application fetches the mail from the same mailbox ...
                    • Monitor Mail Fetching schedule

                       We have a workaround for checking the status of mail fetching (start or stopped). However, we do not have an option to start or stop fetching remotely.  We can integrate "Applications Manager" with SDP MSP and we can do regular monitoring (as per ...
                    • Mail fetching issue_Remote host closed connection during handshake

                      GUI Error Trace:  FAILURE :E-mail settings saved successfully. But error occurred while trying to check connection with mail server - Problem connecting to mailbox. LOG TRACE: [16:33:06:197]|[11-09-2018]|[SYSERR]|[INFO]|[120]: ...
                    • 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 ...