Note that there are some explanatory texts on larger screens.

plurals
  1. PORe-getting POP3 messages
    text
    copied!<p>I am using <a href="http://www.codeproject.com/Articles/15611/POP3-Email-Client-with-full-MIME-Support-NET-2-0" rel="nofollow">Peter Huber's POP3 client</a> to connect to gmail and download messages. </p> <p>The inboxes being accessed are transactional inboxes used only for code-access. That is, a message comes in with a order file attached, code will process it and then delete the message. One stipulation of the code though was a DEBUG flag, which if set would prevent the code from deleting the message so that you can run the program again later without the debug flag and reprocess the message. So, in my code I have </p> <p><code>If Not Arguments.Debug Then pop.DeleteEmail(eid)</code></p> <p>This works fine. Problem is, even when not deleting the message, running the program a second time will not re-retrieve the message, even though if I login to gmail and look at the inbox, it is still there. The only way I can get the program to see the message again is to forward the message back to the same inbox. But in Peter's code I do not see anywhere where he is keeping track of seen messages between sessions. </p> <p>Is this something that is done on gmail's end? Refusing to deliver a message to the same client a second time? If so, is there any way I can change my gmail account so that it will always show all messages in the inbox to a client when retrieving the list of messages, even ones already "seen"? I don't see anything in the gmail settings screen.</p> <p><strong>UPDATE</strong>: I tried adding a method to send a RSET command to the server, as per <a href="http://www.codeproject.com/Articles/15611/POP3-Email-Client-with-full-MIME-Support-NET-2-0?msg=3477014#xx3477014xx" rel="nofollow">this comment</a> on the codeproject page. I then call my new <code>Reset()</code> method after retrieving my messages but before disconnecting, ... but I still have the same problem.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload