jenkinsci / poll-mailbox-trigger-plugin

A Jenkins plugin, to poll an email inbox, and trigger jobs based on new emails.
https://plugins.jenkins.io/poll-mailbox-trigger-plugin/
MIT License
40 stars 32 forks source link

Support Exchange Server - EWS Managed API 2.0 #45

Open nickgrealy opened 6 years ago

nickgrealy commented 6 years ago

Corporate mail servers are moving to cloud based exchange office 365 and many will no longer support/allow IMAP connectivity (** needs citation).

Provide an option to connect via "EWS Managed API 2.0" to facilitate future MS Exchange integration.

Operating system: N/A Jenkins Version: N/A Plugin Version: N/A Mail Server: MS Exchange Server 2010 / Office365

nickgrealy commented 6 years ago

I don't currently have bandwidth to implement this - I'd be grateful if anyone want's to step in and offer a PR.

nickgrealy commented 6 years ago

Additional resources: (thanks Robert D. McDonnell!)

https://msdn.microsoft.com/en-us/library/office/dd633709(v=exchg.80).aspx

With a quick search I found two libs :

https://github.com/OfficeDev/ews-java-api https://github.com/ecederstrand/exchangelib