php-imap icon indicating copy to clipboard operation
php-imap copied to clipboard

facing issue to get messages array

Open makedreams45 opened this issue 3 years ago • 1 comments

Showing this error --> Return value of Webklex\PHPIMAP\Message::getEvent() must be an instance of Webklex\PHPIMAP\Events\Event, string returned

query -> $messages = $query->TO($contact_email)->setFetchOrderDesc()->limit($limit = 5, $page = $page_no)->get();

please suggest best solution

makedreams45 avatar Apr 06 '22 12:04 makedreams45

Hi @makedreams45 , many thanks for your report. Please provide the entire call stack and perhaps a working / failing code snipped.

Providing as much information as possible helps people to look into it. There is also a bug report template available under https://github.com/Webklex/php-imap/issues/new?assignees=&labels=&template=bug_report.md

Best regards & happy coding,

Webklex avatar Aug 09 '22 06:08 Webklex