dcsimg
Delete with POP3 provider trashes INBOX
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Kristoff_Batizy
Posted On:   Wednesday, April 18, 2001 03:27 PM

I am writing a pop3 client, and I am having an odd problem.

When I try to delete a message like this:

message.setFlag(Flags.Flag.DELETED, true);

folder.close(true);
Pop3Store().close();

It trashes the INBOX file on the mail server.
Basically, it removes the top line
"From blah blah blah"
from the INBOX file, which renders the INBOX useless.
What is happening here?

Re: Delete with POP3 provider trashes INBOX

Posted By:   John_Zukowski  
Posted On:   Wednesday, April 18, 2001 04:05 PM

What is Pop3Store().close() supposed to be? It seems like you are calling a method to get a store. Why aren't you just using the store from which you got the folder?

Also, what Pop3 provider are you using?

About | Sitemap | Contact