开发者

How to use javamail to connect to ms exchange webmail?

开发者 https://www.devze.com 2023-04-12 06:31 出处:网络
I checked that I am not able to access the pop开发者_运维百科 3 port and imap port. I think I can only access via https webmail.

I checked that I am not able to access the pop开发者_运维百科 3 port and imap port. I think I can only access via https webmail.

So for this case how do I actually connect to the microsoft exchange server and read the emails inside using java mail can anyone provide any specific code samples to achieve this?


Connecting to Exchange via OWA sounds like its going to be difficult; here's a post which deals with at least the authentication side of things.

In any event, you can connect to an Exchange server via IMAP if the IMAP service is turned on. Check with your server admin to confirm the service is running. If it is running, see this other post for how to set connection parameters.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号