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

Possibility to change the check mail interval by default. #1477

Closed
carlosdmendez opened this issue Mar 3, 2024 · 6 comments
Closed

Possibility to change the check mail interval by default. #1477

carlosdmendez opened this issue Mar 3, 2024 · 6 comments
Labels
documentation Improvements or additions to documentation

Comments

@carlosdmendez
Copy link

Is your request related to a problem? Please describe it.
I have not found an option to tell the system what the default check interval for new emails should be, and the default number "15" seems too high to me.

Describe the solution you would like
Enable an option to change the default check mail interval.

@the-djmaze the-djmaze added the documentation Improvements or additions to documentation label Mar 3, 2024
@the-djmaze
Copy link
Owner

the-djmaze commented Mar 3, 2024

15 minutes is not too high.
In your account settings you can change it.

Keep in mind: more frequent is more server load

@randolf
Copy link

randolf commented Mar 4, 2024

As I recall, many eMail client applications default to 5 minutes, and smartphones do the same, so I think 15 minutes is a pretty long time.

@the-djmaze
Copy link
Owner

the-djmaze commented Mar 4, 2024

But many email clients have a direct (open logged in) connection with IMAP server (might use IDLE and/or NOTIFY).
SnappyMail does not. It requires: HTTP -> HTTP Server -> IMAP server -> LOGIN -> fetch

You can't compare 2 worlds. You should compare Roundcube with SnappyMail for this setting (and then they are still completely different).
Roundcube only has a few options:
afbeelding

And if you really can't wait for "new mail" to arrive, you can click the reload button afbeelding as many times as need to.

@the-djmaze the-djmaze closed this as not planned Won't fix, can't repro, duplicate, stale Mar 10, 2024
@carlosdmendez
Copy link
Author

I also consider that it should be 5 minutes.

I know I can change the interval time in the account settings, but that is not what I want.

What I am looking for is an option that allows me to set the default interval time for all accounts.

@the-djmaze
Copy link
Owner

the-djmaze commented Mar 10, 2024

Can be overridden with a custom extension.

For example see the Demo extension
https://github.com/the-djmaze/snappymail/tree/master/plugins/demo-account
It has two ways for modifying:

  1. json.after-accountsandidentities always overrides
  2. Custom Storage engine that sets the defaults
    if (!\is_dir($sDataPath) && \mkdir($sDataPath, 0700, true)) {
    \file_put_contents("{$sDataPath}/settings",'{"RemoveColors":true,"ListInlineAttachments":true,"listGrouped":true}');
    \file_put_contents("{$sDataPath}/settings_local",'{"UseThreads":true}');

@carlosdmendez
Copy link
Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants