0

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. 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. 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?

Thank you,

Mario S
  • 11,715
  • 24
  • 39
  • 47
Maraduarz
  • 59
  • 1
  • 5

1 Answers1

2

Gmail has a setting that allows you to delete messages from POP. See the following: http://support.google.com/mail/bin/answer.py?hl=en&answer=13290

Joey Gennari
  • 2,361
  • 17
  • 26
  • i will run this by my mentor and see what he says. If this works, it would be great...all that i did would finally pay-off...because this is the only spot that i am stuck at. thanks – Maraduarz Oct 25 '12 at 21:44
  • my supervisor decided to use imap instead of POP3. we faced quite a few situations while using POP3. While using imap, i did have to go to gmail>>settings>>POP3/Imap>> Enable IMAP, before using accessing gmail account through .net. – Maraduarz Nov 02 '12 at 13:36