Error: "No authentication mechanisms supported found for both server and client" When Team Member Email Statusing Service Is Attempting To Connect To A Microsoft Exchange Server Configure With SMTP Relay Connectors As The SMTP Server For Outgoing Mail (Doc ID 1914113.1)

Last updated on MARCH 30, 2017

Applies to:

Primavera P6 Team Member - Version 8.1.1.0 to 8.3 [Release 8.1 to 8.3]
Information in this document applies to any platform.

Symptoms

After configuring the email statusing service, when attempting to test the statusing service sending a ping email, the "send mail" (SMTP configuration) generates the following error:

ERROR
-----------------------
TIMESTAMP ERROR --> Error while trying to send message: No authentication mechanisms supported by both server and client
javax.mail.AuthenticationFailedException: No authentication mechansimssupported by both server and client
 at com.sun.mail.smtp.SMTPTransport.authenticate(SMTPTransport.java:756)
 at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:669)
 at javax.mail.Service.connect(Service.java:295)
 at com.oracle.pgbu.teammember.messaging.dao.AbstractMessageDao.sendMessage(AbstractMessageDao.java:148)
 at com.oracle.pgbu.teammember.messaging.AbstractMessageProcessor.sendPing(AbstractMessageProcessor.java:258)
 at com.oracle.pgbu.teammember.messaging.PullMessageProcessor.processMessage(PullMessageProcessor.java:115)
 at com.oracle.pgbu.teammember.messaging.TaskMessageServiceImpl.processPullMessage(TaskMessageServiceImpl.java:87)
 at com.oracle.pgbu.teammember.messaging.TaskMessageServiceImpl.processUpdatedTasks(TaskMessageServiceImpl.java:58)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)


STEPS
-----------------------
The issue can be reproduced at will with the following steps:

  1. Configure the Email Statusing Service config.properties per the documentation.
  2. Run the email statusing service by launching the run (.sh / .bat).
  3. Send an email to the email address configured in the email statusing service with the subject "ping".
  4. Once the statusing service processes the email, note the error which occurs when attempting to send the email in the statusing service log file.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms