Debug: Mail sending failed in Graph due to Semaphore issue

Debug: Mail sending failed in Graph due to Semaphore issue

Issue:

      Mail sending via Graph triggered from Job Scheduler (system notifications) are failed due to internal Semaphore acquire timeout. This may happen when two threads initiated from Job scheduler are holding the thread for long time.

Debug:

      The semaphore details are logged in the serverout to find the relevant details on the delay.

Steps to apply the debug file:

1. Download the attached .fjar file (corresponding to your build version. If file corresponding to your build version isn't available, reach out our support)
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.

Compatible jar

Build version
Fjar filename
14820
14820_10359691.fjar



                  New to ADSelfService Plus?

                    • Related Articles

                    • Mail sending failed_ Unrecognized SSL message, plaintext connection?

                      Log error trace: Caused by: javax.mail.MessagingException: Could not connect to SMTP host: smtp.office365.com, port: 587;   nested exception is: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? Solution: Error trace means ...
                    • Fix: Error while sending mail using EWS

                      Issue trace: [11:58:49:091]|[11-29-2022]|[SYSERR]|[INFO]|[122]: microsoft.exchange.webservices.data.core.exception.service.remote.ServiceResponseException: The operation can't be performed because the item is out of date. Reload the item and try ...
                    • Fix: Failed to parse To/Cc address while fetching mails using Graph

                      Issue: If the To / Cc address contains the email address in the format "Test, SDP" <test@sdp.com> (containing "," character in the email address itself), then parsing of such addresses using Microsoft Graph fails in SDP. If such address is a support ...
                    • Sending notification failed

                      In some scenarios the outgoing emails will error with Sending notification failed message in UI and in the logs you can see, 550 5.2.125 The sender has exceeded the maximum number of messages they are allowed to send via client submission either per ...
                    • Mail sending failed_Client was not authenticated to send anonymous mail during MAIL FROM

                      Error trace: Caused by: com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM Please note that, this is not an issue with the application but with the outgoing mail ...