3

我希望能够使用他们选择的 IM 系统向我的用户发送提醒,就像Remember The Milk在发送通知时所做的那样。

我怎样才能做到这一点?

附加信息:我在 ASP.Net、SQL Server 2008 和 Windows 2008 中开发

4

4 回答 4

2

Just as an FYI, the GTalk servers also require Transport Level Security (TLS) so make sure to look for that in any library you are considering for your XMPP communications.

于 2009-02-26T23:25:06.620 回答
1

These may be overkill for your problem but these servers implement the Jabber (Gtalk etc) protocol and have add-ins which support sending messages over all the major IM networks.

http://www.process-one.net/en/ejabberd/

http://www.igniterealtime.org/projects/openfire/

http://jabberd.org/

You might be able to integrate one of them into your solution to solve your IM needs.

于 2009-02-26T23:05:43.187 回答
1

gtalk is Jabber. Look for Jabber bots, there are some that will work in your environment. For example one in Python.

Skype requires instance of Skype running on your servers, and your application talking to it via API.

Each of the systems require its own approach. Thus your mileage can vary.

于 2009-02-26T23:08:01.933 回答
1

如上所述,您可以使用自己的 jabber 服务器在该服务器上创建一个帐户,然后为您希望支持的每个 IM 协议添加一个网关。这样,您使用 jabber api 在一个帐户(您的本地 jabber 帐户)上发送消息,然后服务器将通过网关传递到各种协议。

另一种方法是使用libpurple。这是用于支持 pidgin 和 adium 中的多协议支持的库。这种方式的设置更少,但学习曲线可能更高。

于 2009-02-26T23:42:29.790 回答