When to use Noop command to keep alive imap idle connection.
Can I execute noop command while running idle connection or do I need to execute done command to terminate idle and then use noop.
When to use Noop command to keep alive imap idle connection.
Can I execute noop command while running idle connection or do I need to execute done command to terminate idle and then use noop.
Copyright © 2021 Jogjafile Inc.
Strictly, you do not need
NOOPwhen usingIDLE. When in IDLE, the only command you can execute isDONE. You can then immediately go back into a newIDLE.According to the specification, you must reissue
IDLEat least every 29 minutes, as the server is allowed to close connection after 30 minutes. However, if you are behind a NAT (especially on cellular networks), you may need to do it more often to keep the socket mapping alive.