Debug for #8840146: Invalid to address error

Debug for #8840146: Invalid to address error

Issue:

      1. In some scenarios, mails aren't sent to few users
      2. Upon checking the traces in syslog viewer, we could find the below traces



To address : karsee.
Cc address : null
Subject : 【ASSIGN】ID:25999/KSK/不要会社DBの削除と検証用会社DBの作成
SystemNotification : true" ERRORMODULE="MAIL_SENDING" SUBERRORMODULE="null" PROBABLECAUSE="Mail sending failed.
Exception trace : 
javax.mail.SendFailedException: Invalid Addresses;
  nested exception is:
com.sun.mail.smtp.SMTPAddressFailedException: 550 sorry, no mailbox here by that name. (#5.1.1)
at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:2079)


Fix:

      The root cause for the above error is invalid to address "karsee." But in which scenario this error occurred is unknown. So, a debug jar has been prepared and attached here. This will print the dumpTrace() in serverout0.txt file whenever the error occurs.

Steps to apply this fjar

1. Download the attached 13010_8840146.fjar file.
2. Click here on steps to apply the fjar file.
3. Enable email debug (Go to Admin >> Mail server settings (Incoming) tab >> enable "Email debug" checkbox)
4. Restart the application service.
5. Wait for the issue to occur.
6. Once the issue occurs, 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 ticket number as 8840146.

The attached 13010_8840146.fjar is compatible with 13010 build only

                  New to ADSelfService Plus?

                    • Related Articles

                    • MSSQL error 'Invalid Object name'

                      When you get a similar error as mentioned below  java.sql.BatchUpdateException: Invalid object name 'TABLE NAME' please change the COLLATION in the MSSQL server for the database 'servicedesk' as CASE-INSENSITIVE. You can get this error at the time of ...
                    • Debug JAR for Exception Trace while updating Mail Server Details

                      FJAR Description :  Attached FJAR prints the DataAccessException trace, errorcode and errorstring. DataObject used for updation where exception raised.
                    • Logout Debug

                      Fjars for Logout Debug
                    • Fix: Email sending failed when one of the email address is invalid (throws 550 error code)

                      Issue: Mail sending failed when one of the recipients is invalid and mail server throws 550.xx error codes. [14:00:18:856]|[08-08-2023]|[SYSOUT]|[INFO]|[800]: DEBUG SMTP: Sending failed because of invalid destination addresses| ...
                    • Invalid Token URL response - Debug

                      Issue: At times, the API call to refresh the access token is getting failed. Debug: Since, there isn't much information related to this in the log files, debug traces has been added to capture the actual error. Kindly follow the below steps to place ...