Extracting Mail from Microsoft Exchange server 2007 through IMAPS in java

Posted by abhishekgem84 on Stack Overflow See other posts from Stack Overflow or by abhishekgem84
Published on 2010-06-17T09:25:06Z Indexed on 2010/06/17 10:43 UTC
Read the original article Hit count: 289

Filed under:
|

props.put("mail.debug", "true"); props.setProperty("mail.store.protocol","imaps"); props.setProperty("mail.imaps.auth.plain.disable","false"); props.setProperty("mail.imaps.host","Mail3.connect.com"); props.setProperty("mail.imaps.port","135"); props.setProperty("mail.imaps.user","test"); props.setProperty("mail.imaps.pwd","123"); props.setProperty("mail.imaps.ssl.protocols","SSL"); props.setProperty("mail.imaps.socketFactory.class", "javax.net.ssl.SSLSocketFactory"); props.setProperty("mail.imaps.socketFactory.fallback", "false"); props.setProperty("mail.imaps.socketFactory.port", "135");

i have done all this but it still says javax.mail.AuthenticationFailedException: failed to connect, no password specified?

kindly help me out thanks

© Stack Overflow or respective owner

Related posts about java

Related posts about mail