久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

尋找新電子郵件的實時 IMAP 通知

Looking for a real-time IMAP notification of new Emails(尋找新電子郵件的實時 IMAP 通知)
本文介紹了尋找新電子郵件的實時 IMAP 通知的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

我正在尋找一種方法來監控新電子郵件的 GMail 收件箱.但是,我想避免每隔幾分鐘檢查一次,我正在尋找某種實時通知.我注意到 Outlook(和其他支持 IMAP 的客戶端)會在有新電子郵件時立即顯示,但不幸的是,所有 .NET IMAP 庫似乎都缺少此功能.

I'm looking for a way to monitor a GMail inbox for new e-mails. However, I want to avoid checking every few minutes and I'm looking for some sort of real-time notification. I've noticed that Outlook (and other IMAP-supporting clients) instantly show when there is a new e-mail, but unfortunately all .NET IMAP libraries seem to lack this functionality.

有誰知道有這個功能的 IMAP 庫嗎?或者有沒有另一種方法可以在不進行一些短期輪詢的情況下立即收到新消息的通知?

Does anyone know of an IMAP library that has this functionality? Or is there another way to be instantly notified of new message without doing some short-period polling?

推薦答案

你需要處理IMAP 空閑.

這會在新消息到達時通知您,無需不斷輪詢(這很糟糕).

This will notify you when new messages arrive, without constant polling (which is bad).

一個非常好的商業 .NET IMAP 庫是 MailBee.Net.不久前我將它用于一個小項目,它似乎處理得很好,并且相當容易使用.可能還有其他 - 只需在您的庫中搜索發送 IDLE 命令或 IDLE 命令處理,您可能會找到一些東西.

A very good, commercial .NET IMAP library is MailBee.Net. I used it for a small project a while back, and it seemed to handle things very well, and be fairly easy to work with. There may be others - just search in your library for sending the IDLE command or IDLE command handling, and you'll likely find something.

這篇關于尋找新電子郵件的實時 IMAP 通知的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

LINQ to SQL and Concurrency Issues(LINQ to SQL 和并發問題)
Yield return from a try/catch block(try/catch 塊的收益回報)
Should I call Parameters.Clear when reusing a SqlCommand with a transation?(重用帶有事務的 SqlCommand 時,我應該調用 Parameters.Clear 嗎?)
what does a using statement without variable do when disposing?(處理時不帶變量的 using 語句有什么作用?)
Why doesn#39;t TransactionScope work with Entity Framework?(為什么 TransactionScope 不適用于實體框架?)
How to dispose TransactionScope in cancelable async/await?(如何在可取消的 async/await 中處理 TransactionScope?)
主站蜘蛛池模板: 欧美成人精品一区二区三区在线看 | 久久一区精品 | 偷拍福利视频 | 久久综合伊人77777蜜臀 | 一级特黄色片 | 国产人成 | www四虎 | 国产精品一级二级 | 久久国产精品免费 | 伊人影院久久 | 三级黄视频 | 91福利片| 欧美毛片基地 | 久久国产美女 | av免费播放 | 亚洲性视频 | 日韩精品一区二区视频 | av九九 | 国产日韩av在线 | 色婷婷导航 | 日韩有码在线视频 | 在线视频日本 | 日本亚洲精品 | 国产自在线| 午夜天堂av | 99久久综合 | 国产肉体xxxx裸体784大胆 | 欧美精品一区二区在线观看 | 国产精品久久久久久久久久久久久 | 刘玥大战28公分黑人 | 五月天婷婷社区 | 中文字幕一区二区三区乱码 | 黄色高清网站 | 免费毛片在线 | 国产91在线播放 | 欧美成人三级在线观看 | 亚洲精品在线免费 | 成人国产精品一区二区 | 自拍偷拍欧美日韩 | 一区二区三区四区视频 | 美女一级片 |