GeeCON Prague 2014*
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(
at javax.mail.Service.connect(
at javax.mail.Service.connect(
at mail.msgshow.main(

Has anyone solve this problem before? How do you do it?
GeeCON Prague 2014
subject: JavaMail - MS Exchange