My Oracle Support Banner

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

Last updated on APRIL 25, 2020

Applies to:

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

Symptoms

Configuring IMAP Wf mailer with Gmail cloud, getting error message {ACCOUNT=Unable to connect to the mail account. Check the host, user name, password and connection security.}.

All steps from note (Doc ID 2077434.1) was implemented

$AFJVAPRG IMAP test is geting error

[Apr 19, 2020 10:48:11 AM 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:[MLRTST : 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.