We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug When I try to use getByUidGreater() or similar on a folder that is empty and does not contain any email messages, I get an error.
Code to Reproduce $limit = 10; $uid = 0; $name = 'INBOX.Archive'; $folder = $this->client->getFolderByPath($name); $folder->query()->limit($limit)->getByUidGreater($uid);
Webklex\\PHPIMAP\\Exceptions\\ResponseException: Command failed to process: Causes: - Empty response Error occurred in vendor/webklex/php-imap/src/Exceptions/ResponseException.php:53 Stack trace: #0 vendor/webklex/php-imap/src/Connection/Protocols/Response.php(318): Webklex\\PHPIMAP\\Exceptions\\ResponseException::make() #1 vendor/webklex/php-imap/src/Connection/Protocols/Response.php(308): Webklex\\PHPIMAP\\Connection\\Protocols\\Response->validate() #2 vendor/webklex/php-imap/src/Query/Query.php(525): Webklex\\PHPIMAP\\Connection\\Protocols\\Response->validatedData() #3 vendor/webklex/php-imap/src/Query/Query.php(573): Webklex\\PHPIMAP\\Query\\Query->filter() #4 app/Mail/Connections/Imap.php(163): Webklex\\PHPIMAP\\Query\\Query->getByUidGreater()
Expected behavior This exception should not occur
Desktop / Server (please complete the following information):
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
When I try to use getByUidGreater() or similar on a folder that is empty and does not contain any email messages, I get an error.
Code to Reproduce
$limit = 10;
$uid = 0;
$name = 'INBOX.Archive';
$folder = $this->client->getFolderByPath($name);
$folder->query()->limit($limit)->getByUidGreater($uid);
Expected behavior
This exception should not occur
Desktop / Server (please complete the following information):
The text was updated successfully, but these errors were encountered: