Skip to content
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

Flag to keep mail unseen on the server for IMAP #135

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

danielfomin96
Copy link

@danielfomin96 danielfomin96 commented Nov 8, 2023

This adds the optional flag 'unseen' to the account sections allowing these accounts to keep mail as unseen on the server if IMAP is used.
This is helpful in the instance that fdm is used as a backup solution that should therefor not modify the state of mail on the server.

This is implemented by using the IMAP command BODY.PEEK[] instead of BODY[]. The consequence of this is that new mail can not be distinguished from old mail anymore.

@danielfomin96 danielfomin96 changed the title Flag to keep mail unseen on the server Flag to keep mail unseen on the server for IMAP Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant