Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 10 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
商业
Mail.dll 库(来自 Pavel Lesnikowski)支持 IMAP IDLE 命令,这是一种在电子邮件到达之前阻止的方法。
此处的示例代码
开源
InterIMAP 库似乎通过新消息请求对此提供支持,但它并不是开箱即用的。不过还是值得检查一下。
Commercial
Mail.dll Library (from Pavel Lesnikowski) supports IMAP IDLE command, a method that blocks untile an email arrives.
Example code here
Open-source
The InterIMAP library seems to have support for this through new messages request, but it's not out of the box. Worth the check though.