I am evaluating the Rebex with POP.NET. I can successfully make conenction and download messages. How do I keept track of the message or "leave a message on server" for a period of time. THis is like most of the pop client. To leave a copy on the server for other device to pop.

Is this possible in the control or I have to write my own code to keep track?

Thanks, Eddie

asked 10 May '10, 08:00

Eddie's gravatar image

Eddie
324
accept rate: 0%


POP3 server assigns a unique ID to each mail in the mailbox. This unique ID is the same each time you connect. This makes it possible for an application to keep track of the IDs of mails it retrieved (and that's what most POP3 client applications do)

The drawback of this is that some kind of persistent storage for the unique IDs is needed, so this is not an appropriate task for a POP3 library like Rebex POP3 for .NET. This means that you have to keep track of unique IDs yourself in your application.

To retrieve the list of mails including unique IDs, use GetMessageList method. For mor information about unique IDs and sequence numbers, check out the tutorial.

link

answered 10 May '10, 10:43

Lukas%20Pokorny's gravatar image

Lukas Pokorny ♦♦
2.4k28
accept rate: 31%

Hi Lukas, that is exactly what I am looking for. No problem, I can keep all the processed messages by their unique IDs using MYSQL Database. The control is great. Will send order soon. Thank you Lukas M. for his contribution as well.

(11 May '10, 07:46) Eddie

Downloaded messages are not deleted from the POP3 server. To delete them you need to call the pop3.Delete method. Please note that deleted messages still remains on the POP3 server until you call the pop3.Disconnect() method.

Deleted messages can be restored by calling the pop3.Undelete() method or by disconnecting with the rollbackChanges argument set to true pop3.Disconnect(true).

link

answered 10 May '10, 09:01

Lukas%20Matyska's gravatar image

Lukas Matyska ♦♦
90117
accept rate: 28%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×36

Asked: 10 May '10, 08:00

Seen: 413 times

Last updated: 10 May '10, 10:43