Ask the Community
Groups
Authentication Failure when Sending Emails using Exchange Server - Connect IT Community | Kaseya
<main> <article class="userContent"> <p><strong>PROBLEM:</strong></p> <p>You do not receive emails when you have enabled an Exchange server as the email server in Traverse and you see the following message in the action.log file in the <Traverse Home Directory>\logs folder:</p> <div> <pre class="code codeBlock" spellcheck="false" tabindex="0">b.n.TraverseNotificationManager[ThreadPool[ActionLauncher]]: (WARN ) Unable to send email using <address>:<port>: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: No authentication mechansims supported by both server and client</pre><br></div></pre> </div> <p><strong>CAUSE:</strong></p> <p>Changes made to the JavaMail API have caused certain authentication defaults to change that will generate errors with some Exchange Server environments that are dependent on the configuration.</p> <p><strong>RESOLUTION:</strong></p> <p>Remove the username and password from the email-server section inside the <Traverse Home Directory>\etc\emerald.xml file. However, keep in mind that the field must still be in the section. It should look like this:</p> <div> <pre class="code codeBlock" spellcheck="false" tabindex="0"><email-servers><br> <sender address="<sender_email>" name="<email_name>"/><br> <host name="<smtp_ip_address>" port="<smtp_port>" priority="10"<br> username="" password=""<br> starttls="true" sslport="0"/><br> </email-servers></pre> </div> <p><strong>APPLIES TO:</strong></p> <p>On-premise Traverse installations</p> </article> </main>