AuthenticationFailedException and 'Command Received in Invalid State' When Configuring Mailer
Last updated on OCTOBER 06, 2016
Applies to:Oracle Workflow - Version 18.104.22.168 to 12.1.3 [Release 11.5.10 to 12.1]
Information in this document applies to any platform.
Checked for relevance on 19-AUG-2012
***Checked for relevance on 6-Oct-2016***
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:
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
Additional diagnostic information:
The telnet test to the IMAP server on port 143 also fails with "Command received in Invalid state":
Connected to imap_server_name (XX.XX.XX.XX).
Escape character is '^]'.
* OK The Microsoft Exchange IMAP4 service is ready.
1 login account password
1 BAD 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"
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms