Webklex / laravel-imap

Laravel IMAP is an easy way to integrate both the native php-imap module and an extended custom imap protocol into your Laravel app.
https://www.php-imap.com
MIT License
641 stars 182 forks source link

Very slow message loading its about 2 to 3 min for getting 10 messages using pagination on INBOX folder #407

Closed BRVK closed 3 years ago

BRVK commented 3 years ago

$folder = $this->client->getFolderByPath($path); $messages = $folder->messages()->all()->get()->paginate($per_page = 10, $page = $page, $page_name = 'Messages Page');

cms007 commented 3 years ago

@Webklex - I am also facing the same issue with gmail account.

$messages = $emailFolder->query()
                        ->setFetchBody(false)
                        ->all()
                        ->fetchOrderDesc()
                        ->paginate($per_page = 10, $page = $page, $page_name = 'imap_page');
cms007 commented 3 years ago

Seems to be duplicate of #403.

Webklex commented 3 years ago

Hi @BRVK @cms007 , many thanks for your reports. Unfortunately this is the wrong repository.

Please head over to https://github.com/Webklex/php-imap/issues/new?assignees=&labels=&template=bug_report.md and try to be as precise as possible. Also consider to add some example date which would be required to replicate the issue.

Best regards,

Dev34SOC commented 3 years ago

Hi @Webklex - I am also facing the slowness issue with Laravel-Imap with gmail account.

cms007 commented 3 years ago

@Webklex - Opened a new issue here: https://github.com/Webklex/php-imap/issues/171