6

有人熟悉 Python 的 Exchange ActiveSync 库或开源客户端吗?我已经进行了初步搜索,但几乎没有成功。我看过一些 C# 的例子,但我想在我尝试移植任何东西之前我会在这里问一下。

以防你好奇。这将是现有的基于 linux 的 IMAP/POP3 客户端的扩展。在游戏后期迁移到 Windows / C# 并不是一个真正的选择。

4

1 回答 1

0

在 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

然后通过不安全的 IMAP 连接到localhost:3143并正常登录。(对于我试图连接的 Exchange 服务器,这只是 throw Activesync error Connection lost,但它可能在其他 Exchange 服务器上和/或当 py-eas-client 得到改进时工作。)

于 2018-07-01T14:55:00.033 回答