I am trying to get our Siebel email response application to use imap instead of pop3.
The support analyst at Oracle told me to try this command line prompt.
java -Djava.class.path=".;D:\javamail\javamail-1.4.5\mail.jar;d:\siebel81sia\siebsrvr\BIN\JMailClient.jar" com/siebel/scomm/emaildriver/JMailClient /u ingrnet/siebelmail/myusername /p mypassword /s mail.myserver.com /o 993 /r imaps
Here is the output...
MAIN... create JMailClient object
MAIN... created JMailClient object
MAIN... set connection parameter...
Setting connection parameters to client object...
::setting connection parameters::
protocol: imap
Use TLS: No
server: mail.myserver.com
port: 143
account: ingrnet/siebelmail/myusername
connection parameters set to client object.
MAIN... connection param set, call connect...
connecting to the email server...
connection timeout set: 10(seconds), 10000(milliseconds)
get session instance
getting store object
calling connect...
getting message count from email server inbox folder...
Cannot complete operation. JMail client in invalid state!
closing connection to email server
close mail store object...
closing mail store object.
Closed connection to email server
...end of output
Is there a parameter that would change the output to say "Use TLS: Yes"?
I tried adding -Dmail.imap.starttls.enable="true".
Thanks,
Eddie