Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JavaMail - MS Exchange  RSS feed

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!