-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expunge and moving messages #46
Comments
Sounds correct (based on my current knowledge and understanding), IMAP do normally not delete messages until they are expunged, Move is just copy and a delete operation. Depending on the client a deleted message is still shown until it is expunged. For the original explanation of expunge see the RFC http://tools.ietf.org/html/rfc3501#page-49 How would you suggest the docs should be updated? |
Would suggest the documentation say that it should be used when moving or deleting (currently it says only deleting). Funny thing is yahoo won't show the moved/deleted message on webmail though the library still picks it up |
Most clients don't do expunge until you change folders and many not even then, I would simply recommend not to use expunge at all, and possibly filter messages that is marked as deleted. |
According to the documentation it says expunge is for deleting messages marked for deletion.
It also needs to be run after moving messages between mailboxes otherwise it leave it behind. Not sure if that's design or if the doc needs to be updated.
The text was updated successfully, but these errors were encountered: