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?