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

I've got error on message delete() #484

Open
foRsxs opened this issue Oct 24, 2023 · 1 comment
Open

I've got error on message delete() #484

foRsxs opened this issue Oct 24, 2023 · 1 comment

Comments

@foRsxs
Copy link

foRsxs commented Oct 24, 2023

The error is
Causes:
- Empty response
Error occurred {"exception":"[object] (Webklex\PHPIMAP\Exceptions\ResponseException(code: 0): Command failed to process:
Causes:
\t- Empty response
Error occurred at .../vendor/webklex/php-imap/src/Exceptions/ResponseException.php:53)

@Trukken
Copy link

Trukken commented Nov 26, 2024

Hey, I know the issue is a little over a year old, but try to iterate over your messages using the reverse() function.
ex.
($folder->messages()->get())->reverse()

Also in the config I have switched to using
'sequence' => IMAP::ST_MSGN,

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

No branches or pull requests

2 participants