当我有很多帐户时,如何查询IMAP服务器中的新邮件 [英] How to query IMAP server for new mails when I have lots of accounts

查看:170
本文介绍了当我有很多帐户时,如何查询IMAP服务器中的新邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

现在,我想编写一个程序(守护程序)以向IMAP服务器查询新邮件,并在新邮件到达时通知客户端.我有成千上万的电子邮件帐户,所以我想知道如何高效,轻松地完成此操作.

Now, I want to write a program(daemon) to query IMAP server for new mails and notify clients when their new mails arrive. And I have thousands of email accounts, so I want to know how to accomplish this efficiently and easily.

据我了解,我知道两种可能的解决方案.

From my understanding, I know two possible solutions.

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆