Skip to content

Conversation

@stevebauman
Copy link
Member

@stevebauman stevebauman commented Nov 19, 2025

This PR introduces a new polling feature for detecting new messages in mail folders, alongside necessary interface and test updates. The main change is the addition of a poll method, which regularly checks for new messages at a specified frequency and invokes a callback for each new message. The supporting infrastructure for polling is encapsulated in a new Poll class.

This allows developers who cannot use IMAP IDLE to use long polling in its place using the same kind of structure as the existing idle() method.

@stevebauman stevebauman merged commit fd8d257 into master Nov 19, 2025
9 checks passed
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.

2 participants