jQuery in Action, 3rd edition
The moose likes Other JSE/JEE APIs and the fly likes JavaMail - MS Exchange Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "JavaMail - MS Exchange" Watch "JavaMail - MS Exchange" New topic

JavaMail - MS Exchange


Joined: Jul 25, 2001
Posts: 1
I'm trying to use JavaMail to log into MS Exchange (IMAP). The MSExchange is configured for authentication, in other words, clear-text passwords are not allowed.
So, I keep getting following exception when my java program try to connect to the MS Exchange server:
javax.mail.AuthenticationFailedException: Clear text passwords have been disabled for this protocol
at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:293)
at javax.mail.Service.connect(Service.java:234)
at javax.mail.Service.connect(Service.java:135)
at mail.msgshow.main(msgshow.java:108)

Has anyone solve this problem before? How do you do it?
I agree. Here's the link: http://aspose.com/file-tools
subject: JavaMail - MS Exchange
It's not a secret anymore!