+2 votes

Can you explain me how to download à copy of message and no delete the message on the server. My customers need this option.

And I read on the net, or use this method with POP3 just download a copy of mail.

by

1 Answer

0 votes
 
Best answer

If you don't use DeleteMessage method (DELE command is not issued),
server is not asked to delete a message.
It should return this message when you use GetAll() on the next POP3 session.

However some POP3 servers may decide, that the message was already seen and don't return this message on the next read (GetAll).

This is not what the server should be doing (it is against POP3 protocol spec), however some servers do that e.g. Gmail.
In Gmail for example you can configure how POP3 server behaves. I don't know what POP3 server you/your client is using, but there is a good chance this behavior is configurable.

Please note that POP3 protocol itself doesn't have a notion of seen/unseen messages. My advice is to use IMAP whenever possible.

by (288k points)
...