Internet SMTP/IMAP Server Failed to Connect to IMAP Server With Error "JMailClient Object Failed To Connect To The Email Server" (Doc ID 1598898.1)

Last updated on MARCH 02, 2017

Applies to:

Siebel eMail Response and Smart Answer Package - Version 8.1.1.5 SIA [21229] and later
Information in this document applies to any platform.
After configure Siebel Email Response in a test environment the Internet SMTP/IMAP Server driver keep showing error: "JMailClient object failed to connect to the email server".

The error can be observed on IMAPSMTP_xxxx_x_x_xxxxxx_xxxxxx.log files.


The IMAP Account been used works fine using another IMAP email client. So the problem seems related to Internet SMTP/IMAP Server driver from Siebel trying to connect with the IMAP Server.


Symptoms

In IMAPSMTP_67CA_5_7_5549FE9B_290A8F2C.log the Internet SMTP/IMAP Server driver tries to connect to the IMAP Server but got the following error message:

Could not connect to email server. JMail client in invalid state!

nullAUTHENTICATE failed.[Ljava.lang.StackTraceElement;@15a0305

IMAPSMTP[11/06/2013 08:12:49:348]:ERROR:Failed to connect to the email server!

 The following EMRJavaSubsys parameter could be observed on the IMAP log file:

IMAPSMTP[11/06/2013 13:53:12:991]:DBG:JVM Classpath = D:\APPS\sba81\siebsrvr\BIN\JMailClient.jar;D:\APPS\sba81\javamail-1.4.5\mail.jar
IMAPSMTP[11/06/2013 13:53:12:991]:DBG:JVM DLL Name = C:\Program Files (x86)\Java\jdk1.6.0_45\jre\bin\client\jvm.dll
IMAPSMTP[11/06/2013 13:53:12:991]:DBG:JVM Options = -XX:PermSize=16m -XX:MaxPermSize=16m -Xms256m -Xmx256m -XX:NewSize=128m -XX:MaxNewSize=128m

Changes

Customer has replaced JavaMail library recently.

Cause

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 hundreds of Community platforms