Re: [twsocket] TSslPop3Cli... 6.13

2014-05-26 Thread zayin
Hi,

 Note messages are only deleted when the mailbox is actually closed with
the QUIT command.

I think that is the issue. This is a 24/7 program and I do not issue the
quit until the program is stopped.

Interesting that Gmail is the only POP3 server, I have tested, that has the
requirement. My code has now been tested with 3 other POP3 servers and they
all delete the message when the DELE command is issued.

FYI, if you delete all the messages and do a STAT before the QUIT the reply
will be the message count that includes all the deleted messages. 

Thanks Angus.

Cheers,

Mark

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] TSslPop3Cli... 6.13

2014-05-26 Thread Angus Robertson - Magenta Systems Ltd
  Note messages are only deleted when the mailbox is actually 
  closed with the QUIT command.
 
 I think that is the issue. This is a 24/7 program and I do not 
 issue the quit until the program is stopped.

POP3 mailboxes are rarely dynamic, they show a snapshot of the content when
opened, and not email that arrives while they are open.  Otherwise the STAT,
LIST and UIDL command message numbers would not match the message numbers when
you retrieve or delete something.  

I guess they could retrieve new content each time one of those commands is
issued, and maybe that is what a modern database driven POP3 mailbox can do,
unlike the old flat file mailboxes from years ago.  

But generally closing the POP3 mailbox as soon as possible is the way to work. 

Angus



-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be