I am using oracle database 11gr2 to connect to gmail and read messages.
but I facing this error while connecting to gmail.
ORA-29532: Java call terminated by uncaught Java exception: javax.mail.MessagingException: Connect failed;
nested exception is:
java.io.IOException: Couldn't connect using "javax.net.ssl.SSLSocketFactory" socket factory to host, port: imap.gmail.com, -1; Exception: java.lang.reflect.InvocationTargetException
ORA-06512: at "IMAGE.MAIL_CLIENT", line 16
ORA-06512: at "IMAGE.MAIL_CLIENT", line 35
ORA-06512: at line 2