JavaMail Exchange Authentication

后端 未结 8 2059
长情又很酷
长情又很酷 2020-12-03 05:53

I\'m trying to use Exchange authentication from my app using JavaMail to do this. Could some one give me a guide to do this? After authentication I need to send mails that\'

8条回答
  •  渐次进展
    2020-12-03 06:28

    Tried the ews-java-api, as mentioned by Populus on a previous comment. It was done on a Java SE environment with jdk1.6 and it works like a charm.
    These are the libs that I had to associate with my sample:

    • commons-cli-1.2.jar
    • commons-codec-1.10.jar
    • commons-lang3-3.1.jar
    • commons-logging-1.2.jar
    • ews-java-api-2.0.jar
    • httpclient-4.4.1.jar
    • httpcore-4.4.5.jar

    Hope it helps.

提交回复
热议问题