久久久久久久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?)
主站蜘蛛池模板: 羞羞视频免费观 | 久久久久国产精品午夜一区 | av天天看 | 福利视频一二区 | 日韩欧美国产精品 | 国产精品久久久久久久久久久久久 | 99视频免费 | 精品国产一区一区二区三亚瑟 | 日本aa毛片a级毛片免费观看 | 在线观看免费黄色片 | 日韩有码一区二区三区 | av激情在线 | av网站观看 | 中文字幕一区二区不卡 | 狠狠操电影 | 免费xxxx大片国产在线 | 欧美99 | 色综合天天综合网国产成人网 | 国产美女h视频 | 二区中文字幕 | 欧美日韩国产中文 | 日韩中文字幕 | 69福利影院 | 黄网站免费在线 | 国产在线视频三区 | 国产成人精品久久二区二区 | 中文在线一区二区 | 第一福利社区1024 | 国产成人精品一区二区 | 久久久精品一区 | 欧美一区二区在线观看 | 亚洲精品中文字幕在线观看 | 91精品国产手机 | 亚洲视频在线免费观看 | av在线播放不卡 | 亚洲视频欧美视频 | 成人午夜免费在线视频 | 国产激情一区二区三区 | 国产毛片久久久久久久久春天 | 亚洲日韩中文字幕一区 | 久久久久久久久久久福利观看 |