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|
[14:00:18:856]|[08-08-2023]|[SYSOUT]|[INFO]|[800]: RSET|
[14:00:18:856]|[08-08-2023]|[SYSOUT]|[INFO]|[800]: 250 OK|
[14:00:18:856]|[08-08-2023]|[SYSOUT]|[INFO]|[800]: DEBUG SMTP: MessagingException while sending, THROW: |
[14:00:18:856]|[08-08-2023]|[SYSOUT]|[INFO]|[800]: javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
com.sun.mail.smtp.SMTPAddressFailedException: 550 Unknown user
|
[14:00:18:856]|[08-08-2023]|[SYSOUT]|[INFO]|[800]: at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:2079)|
[14:00:18:856]|[08-08-2023]|[SYSOUT]|[INFO]|[800]: at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1301)|
In SMTP, sendPartial option is available, which is when enabled will send mails to valid recipients ignoring the invalid recipients. This provision is available in SDP but not enabled by default. Setting sendPartial as true by default with this fix.
1. Download the attached 14304_8999916.fjar file.
3. Restart the application service.
4. Check for the issue.
5. If the issue occurs again,
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.