My Oracle Support Banner

"No login methods supported" Or "Command is not valid in this state" When Attempting to Read Mail via IMAP/POP3 with the ODI OdiReadMail Tool (Doc ID 1989375.1)

Last updated on MAY 22, 2018

Applies to:

Oracle Data Integrator - Version and later
Information in this document applies to any platform.


When attempting to read email messages from a Microsoft Exchange Server 2010 SP3 (version 14.3 - build 123.4) set up with POP3 port 995 with TLS using the Oracle Data Integrator (ODI) OdiReadMail tool with either of the following protocols:

and using the following syntaxes:

OdiReadMail "" "-USER=H-MSX/xxx" "-PASS=xxx" "-FOLDER=D:\Testfall" "-PROTOCOL=imap" "-FOLDER_OPT=NONE" "-KEEP=YES" "-EXTRACT_MSG=YES" "-EXTRACT_ATT=NO" "-MSG_PRF= " "-TIMEOUT=1000" "-POLLINT=1000" "-MAX_MSG=1"



the following message stacks are returned:

    IMAP: No login methods supported!
 at com.sunopsis.dwg.function.SnpsFunctionBaseRepositoryConnected.execute(
 at oracle.odi.runtime.agent.execution.SessionTask.execIntegratedFunction(
 at ...
Caused by: javax.mail.MessagingException: No login methods supported!;
 nested exception is:
com.sun.mail.iap.ProtocolException: No login methods supported!
 at com.sun.mail.imap.IMAPStore.protocolConnect(
 at javax.mail.Service.connect(
 ... 20 more
Caused by: com.sun.mail.iap.ProtocolException: No login methods supported!
 at com.sun.mail.imap.IMAPStore.login(
 at com.sun.mail.imap.IMAPStore.protocolConnect(
 ... 23 more

    POP3: Command is not valid in this state.
 at com.sunopsis.dwg.function.SnpsFunctionBaseRepositoryConnected.execute(
 at oracle.odi.runtime.agent.execution.SessionTask.execIntegratedFunction(
 at ...


To view full details, 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 a vibrant support community of peers and Oracle experts.