tag:blogger.com,1999:blog-3556639399706465756.post2679017913589850082..comments2023-04-27T15:06:10.239+05:30Comments on Share the knowledge: Fetch Mails From IMAP server using Java Mail APIPN Financial Freedomhttp://www.blogger.com/profile/06590166837236189016noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-3556639399706465756.post-70254885040590093632010-12-23T20:54:50.285+05:302010-12-23T20:54:50.285+05:30If you want to connect on SSL set the following pr...If you want to connect on SSL set the following properties: <br /><br />props.setProperty("mail.imap.socketFactory.class", "javax.net.ssl.SSLSocketFactory");<br />props.setProperty("mail.imap.socketFactory.port","993");PN Financial Freedomhttps://www.blogger.com/profile/06590166837236189016noreply@blogger.com