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

idle function only calling the function call on first email received when multiple emails are received simultaneously (with gmail at least) #338

Closed
mbfdias opened this issue Nov 28, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@mbfdias
Copy link

mbfdias commented Nov 28, 2022

Hi

When executing $folder->idle(function($message){ } I noticed that in some cases, when receiving several emails simultaneously, I only get the first email processed, and the rest doesn't trigger any more the function call...

is there a way to overcome this?

@Webklex Webklex added the enhancement New feature or request label Dec 31, 2022
@Webklex
Copy link
Owner

Webklex commented Mar 7, 2023

Hi @mbfdias ,
many thanks for your report. Please update to the latest release and try again.

The idle method has been reworked to prevent this issue.

Best regards,

@Webklex Webklex closed this as completed Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants