My Oracle Support Banner

AuthenticationFailedException and 'Command Received in Invalid State' When Configuring Mailer (Doc ID 853484.1)

Last updated on MAY 18, 2023

Applies to:

Oracle Workflow - Version 11.5.10.2 to 12.1.3 [Release 11.5.10 to 12.1]
Information in this document applies to any platform.
 
*** ***

Symptoms

You are configuring workflow notification mailer in Oracle Application Manager (OAM). After entering information in the E-Mail Servers page (ie the page where the Inbound and Outbound E-Mail servers are defined); you receive the following error:

Error:
Unhandled Exception when creating a folder -> javax.mail.AuthenticationFailedException: Command received in Invalid state.

Stack Trace -> javax.mail.AuthenticationFailedException:
Command received in Invalid state. at com.sun.mail.imap.IMAPStore.
protocolConnect(IMAPStore.java:330) at javax.mail.Service.connect(Service.java:
255) at javax.mail.Service.connect(Service.java:134) at javax.mail.Service.
connect(Service.java:86) at oracle.apps.fnd.wf.mailer.Mailer.createFo
lders(Mailer.java:2845)...

 

Additional diagnostic information:

The telnet test to the IMAP server on port 143 also fails with "Command received in Invalid state":


For further details on how to perform this test please refer to step b) Verify IMAP server in <Note 242941.1> "How To Troubleshoot Java-based Workflow Notification Mailer"

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.