Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们正在构建一个应用程序,用户可以在其中向单个电子邮件地址发送电子邮件,我们希望多个服务器使用 pop3 下载电子邮件。目前,多台服务器正在多次下载同一封电子邮件。
我们如何确保同一封电子邮件只能下载一次?电子邮件包含附件。
您应该跟踪消息 ID 或日期/时间 - 消息 ID 更可靠,这将是我首先研究的解决方案。