-2

I'm new to programming with Delphi.

I have the latest version. I'm trying to display my emails using POP3 but I have a problem.

At one point I was wrong and did a loop with POP3.Retrieve() method instead of using POP3.RetrieveHeaders().

Delphi surely have downloaded all emails but when I try to start again, the CheckMessages() method is 0.

I tried using something like POP3.Free() or FreeAndNil(POP3) but nothing works for me, I can not check my mail.

What should I do now? When mail is downloaded to the POP3.Retrieve() method is no longer possible to see him again later?

Thanks in advance and sorry for my ignorance.

2

A POP3 server only stores the new emails. Once an email has been retrieved, it is deleted from the server.

So, yes. Those emails that you downloaded accidentally are now completely gone and can't be retrieved again.

| improve this answer | |
  • Thank you Bart and sorry i'm new, i was wrong section, excuse me. It will not happen again :( – Lucas Amalfitani Jun 18 '15 at 15:46
  • @LucasAmalfitani: Don't worry. I considered your question to be on-topic here or I would not have posted an answer. – Bart van Ingen Schenau Jun 18 '15 at 16:06

Not the answer you're looking for? Browse other questions tagged or ask your own question.