简体   繁体   English

为什么在POP3中调用.Disconnect()方法后电子邮件仍然可见?

[英]Why are the emails still visible after .Disconnect() method is called in POP3?

Could somebody help me to find out what's happening? 有人可以帮我找出发生了什么吗?

My code connects to email>reads the body>parses the data> saves them to database> delete the email. 我的代码连接到电子邮件>读取正文>解析数据>将它们保存到数据库>删除电子邮件。 It does all that fine. 它做得很好。 I checked by retrieving their emailIds. 我检查了他们的emailIds。 The issue here is that the emails are still visible in the Gmail Inbox, although, Disconnect method was supposed to delete them physically from server. 这里的问题是电子邮件仍然可以在Gmail收件箱中看到,但是Disconnect方法应该从服务器上物理删除它们。 Why are they still in the inbox? 为什么他们仍在收件箱中? Is that normal? 这是正常的吗? Does it take some time to delete the emails from the inbox? 从收件箱中删除电子邮件需要一些时间吗? Or will it always be visible in inbox? 或者它会在收件箱中始终显示? or Does deleting emails physically from server not mean that they are deleted from the inbox? 或者从服务器上物理删除电子邮件并不意味着它们会从收件箱中删除?

Could some body with experience with POP3 in c# help me with this issue? 在c#中有一些有POP3经验的人能帮我解决这个问题吗?

Thank you, 谢谢,

Gmail has a setting that allows you to delete messages from POP. Gmail的设置允许您从POP中删除邮件。 See the following: http://support.google.com/mail/bin/answer.py?hl=en&answer=13290 请参阅以下内容: http//support.google.com/mail/bin/answer.py?hl = zh-CN&answer = 13290

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM