Python Exchange ActiveSync Library

匿名 (未验证) 提交于 2019-12-03 08:46:08

问题:

Is anyone familiar with an Exchange ActiveSync library or open source client for python? I've done preliminary searching with little to no success. I've seen some examples for C#, but I figured I'd ask around here before my attempt to port anything over.

In case you're curious. This would be an extension of an already existing linux based IMAP / POP3 client. Moving to Windows / C# this late in the game isn't really an option.

回答1:

This is a Python ActiveSync client, built on Twisted: https://code.google.com/p/py-eas-client/



回答2:

On Debian 9:

apt-get install mercurial python-twisted hg clone https://bitbucket.org/drspringfield/py-eas-client cd py-eas-client python setup.py install python imap_to_eas_proxy.py --domain example.org --server mail.example.org --device_id myID.example.net 

then connect via insecure IMAP to localhost:3143 and log in as normal. (For the Exchange server I was trying to connect to, this just threw Activesync error Connection lost, but it might work on other Exchange servers and/or when py-eas-client is improved.)



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!