开发者

How do I interact with a MS Exchange calendar from a Unix command line?

I want to write a bot that will automatically watch a MS exchange account's calendar and accept and log any invitations. The rest of the code will be in Ruby, so I'd prefer that, but I'm happy to use any POSIX tool --开发者_如何学运维 a C program, a Perl script, etc.

I've looked around for Unix client information, but all I found were email clients (e.g. Thunderbird).


OpenChange provides libmapi which uses the native MAPI protocol to communicate with Microsoft Exchange.

Alternatively, if your Exchange server has the Outlook Web Access component installed, you can use WebDAV to access it. Here's an example of using the calendar using PHP which may give you some pointers.


If you are using Exchange Server 2007 and beyond you may want to take a look at Exchange Web Services. I don't know Ruby nor the other tools you mentioned, but you should probably be able to access web services from one of them.

Handling Meetings shows, among other things, how to receive and accept meeting invitations.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜