I am doing a PoC on a mail client. and seeing how to support "IDLE" mode to show the coming emails notification ,flags change,...
I tested "ImapIdle", it is running perfect as the expected. but don't know how to exit the "IDLE" mode to serve a user request. Is there any the best practice for the following scenario:
The mail client is running in "IDLE" mode, then user want to Fetch and read an email. how to exit the "IDLE" mode and execute the "Fetch" immediately?
Thanks for your great works in advance!
I am doing a PoC on a mail client. and seeing how to support "IDLE" mode to show the coming emails notification ,flags change,...
I tested "ImapIdle", it is running perfect as the expected. but don't know how to exit the "IDLE" mode to serve a user request. Is there any the best practice for the following scenario: The mail client is running in "IDLE" mode, then user want to Fetch and read an email. how to exit the "IDLE" mode and execute the "Fetch" immediately?
Thanks!