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

Closed
foRsxs opened this issue Oct 24, 2023 · 2 comments
Closed

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

foRsxs opened this issue Oct 24, 2023 · 2 comments

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,

@Webklex
Copy link
Owner

Webklex commented Jan 19, 2025

Hi @foRsxs ,
many thanks for your report. Unfortunately I'm unable to reproduce the issue at this point.
Perhaps you are using an outdated version of webklex/php-imap? If that's the case, please update it to the latest version. This laravel-wrapper fully relies on the functionality of webklex/php-imap.

If the issue still persists, please head over here (https://github.com/Webklex/php-imap/issues/new?template=bug_report.md) and create a new issue. If you do, please provide as much information as possible (such as a failing test case or anything else which could help to reproduce the issue).

Best regards & happy coding,

@Webklex Webklex closed this as completed Jan 19, 2025
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

3 participants