This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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?
I agree. Here's the link:
subject: JavaMail - MS Exchange
Similar Threads
Java Mail send message to Yahoo account
JavaMail and Lotus Notes chamber of secrets
Connect to SMTP server
JavaMail Error...
IMAP/TLS Problem in connecting using java mail api.