My Oracle Support Banner

"[AUTHENTICATIONFAILED] Invalid Credentials Error" when Configure IMAP With Gmail Cloud Email (Doc ID 2662006.1)

Last updated on MARCH 19, 2021

Applies to:

Oracle Workflow - Version 12.2.4 and later
Information in this document applies to any platform.

Symptoms

All steps from note Configuring an Oracle Workflow Notification Mailer with Cloud E-Mail Servers (Doc ID 2077434.1) were implemented.

From UI mailer configuration page getting error message {ACCOUNT=Unable to connect to the mail account. Check the host, user name, password and connection security.}.

While running $AFJVAPRG IMAP test is getting error:

ERROR

=========
[XXX XX, XXXX XX:XX:XX XX XXX]:1587282491920:-1:-1:xxxxxxx:xxx.xxx.x.xxx:-1:-1:1:20420:SYSADMIN(0):-1:Thread[main,5,main]:xxx.xxx.x.xxx:91403:1587282488709:0:ERROR:[XXXXXX : oracle.apps.fnd.wf.mailer.IMAPUtils.storeTest(WorkflowContext, Logger, Properties)]:Test did not complete successfully -> javax.mail.AuthenticationFailedException: [AUTHENTICATIONFAILED] Invalid credentials (Failure)
Stack Trace
javax.mail.AuthenticationFailedException: [AUTHENTICATIONFAILED] Invalid credentials (Failure)
at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:723)
at javax.mail.Service.connect(Service.java:386)
at javax.mail.Service.connect(Service.java:245)
at javax.mail.Service.connect(Service.java:194)
at oracle.apps.fnd.wf.mailer.IMAPUtils.storeTest(IMAPUtils.java:514)
at oracle.apps.fnd.wf.mailer.Mailer.main(Mailer.java:2065)


From Gmail browser interface with the same credentials the login is working.

Changes

 NA

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
Changes
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.