Outgoing emails are not being sent out from CA Service Desk Manager (SDM) 17.x
mail_nxd.log show errors like this
2025-03-10 11:21:56:320 ERROR [mailNxdActorSystem-akka.actor.default-dispatcher-18] c.c.S.m.NXJavaMailMailer - [<mail-file>.req] -> The transport is not connected or is dead.
javax.mail.AuthenticationFailedException: No authentication mechanisms supported by both server and client
CA Service Desk Manager 17.3 and higher
SMTP Server Authentication / SDM options | Authentication is NOT required | Authentication IS Required | Authentication is NTLM |
mail_login_userid & mail_login_password | Deinstalled | Installed | Installed |
mail_smtp_security_level | 0 | 1 or 4 | 2 |
To verify if authentication is required or not, a test via telnet might be a good idea:
telnet <SMTPServer> <SMTP_PortNumber>
It would indicate there normally if authentication is needed or not.
In some cases, the mail server itself was modified to require authentication. In one such example, a new Auth option was inserted in mail in POP3. Previously it was set as “clear text” and worked. After migration it stopped working. Changing the config to use “login” addressed the issue.