简体   繁体   中英

Connecting microsoft Exchange server with java

I have a problem in connecting microsoft exchange server active directory with java using Java Mail. it is throwing an exception

javax.mail.MessagingException: No login methods supported!;

or sometimes

com.sun.mail.iap.ConnectionException: 220

i just want a simple idea to how to actually connect with an exchange server active dirrectory.

I am afraid that you did not enable SNMP support on your exchange server. Check it. Exchange server supports various protocols but its default protocol is proprietary, while Java mail API works with SNMP.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM