My Oracle Support Banner

Internet SMTP/IMAP Server Fails To Connect using SSL Secure Protocol For a Exchange Server 2010 (Doc ID 2083683.1)

Last updated on JUNE 03, 2021

Applies to:

Siebel Email Response - Version [21211] and later
Information in this document applies to any platform.


After setup Internet SMTP/IMAP Server driver to connect to MS Exchange Server 2010 using TLS protocol on port 993 the IMAP Driver is not able to connect and the following error can be observed on the IMAP log files

IMAPSMTP[10/14/2015 15:44:35:072]:DBG:connecting to the email server...

connection timeout set: 60(seconds), 60000(milliseconds)
setting TLS parameters...
get session instance
getting store object
calling connect...

Could not connect to email server. JMail client in invalid state! Connection resetConnection reset[Ljava.lang.StackTraceElement;@85af80

IMAPSMTP[10/14/2015 15:44:35:072]:ERROR:Failed to connect to the email server!

The issue can be reproduced at will with the following steps:
1. Configure Internet SMTP/IMAP Server driver profiles with parameters:
Enable TLS for IMAP = TRUE
Enable SSL for IMAP = FALSE
IMAP Server Port = 143

2. Install JavaMail 1.4.5

3. Setup the EMRJavaSubsys as follow:
JVM Classpath = C:\sba811\siebsrvr\BIN\javamail-1.4.5\mail.jar;C:\sba811\siebsrvr\BIN\JMailClient.jar
JVM DLL Name = C:\Program Files (x86)\Java\jdk1.6.0_45\jre\bin\client\jvm.dll
JVM Options = -Xmx256m\\Users\\Administrator\\.keystore -Djavaxnet.ssl.trustStorePassword=changeit

4. Import the MS Exchange Server certificate (.cer) into the JDK default keystore using JDK command:
keytool -import -alias -file <path to certificate.cer>


Due this problem Siebel was not able to pull email from the Exchange Server using TLS for IMAP using implicit mode on port 993.




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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.