mattermail icon indicating copy to clipboard operation
mattermail copied to clipboard

make option to set time for checking mail

Open fat0 opened this issue 8 years ago • 4 comments

Right now it is hard coded to check every 30 seconds. Can you please make this an option that one can set in the config? Would greatly appreciate it :)

fat0 avatar Jan 18 '17 21:01 fat0

Can you explain why do you need to change this time?

rodcorsi avatar Jan 19 '17 18:01 rodcorsi

So I can change it to whatever value I feel like? It's not that important though. The ticket I opened next is more important, please let me know what you think: https://github.com/rodrigocorsi2/mattermail/issues/40

fat0 avatar Jan 19 '17 18:01 fat0

Today Mattermail use imap idle to check when new emails arrive. The 30 seconds is used only if an error occurs and Mattermail will try again

rodcorsi avatar Jan 27 '17 11:01 rodcorsi

I am agree with fat0. I am newbie with mattermail but i have seen in matter that some const variables are declared. I tested mattermail on one imap mailbox which has a large number of mails. The fetch processing stopped as i guess that 4000 is teh maximum. (but maybe i am wrong). If we can set our values according to our needs we could use mattermail easier. By the way thank you for this plugin :-).

Ketchup31 avatar Nov 07 '17 21:11 Ketchup31