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
637 stars 182 forks source link

Trying to get mailbox from multiple clients #487

Open abdulrahmanhussin1 opened 11 months ago

abdulrahmanhussin1 commented 11 months ago

"I am trying to create a command to insert emails into my database, and with a cron job, find if there are emails not yet inserted. When I run this command, there are two cases:

If I select all folders, the command inserts the data for the first account and returns these exceptions:" Screenshot from 2023-12-13 12-35-58

. even if i use on user credential.
"The second case occurs when I specify a single folder to retrieve messages. In this scenario, the command does not return any exceptions, but it only fetches data from the first account. Could you assist me in identifying the issue in my code? Thank you in advance!"

command