dacastro4 / laravel-gmail

Laravel wrapper for the Gmail API
MIT License
293 stars 134 forks source link

how to get emails from specific user id ? #224

Open iamgarik opened 2 years ago

iamgarik commented 2 years ago

$mailbox = new LaravelGmailClass(config(), $admin_uid); $messages = $mailbox->message()->preload()->all();

this not working ...

any ideas?

uacode commented 2 years ago

What about $admin_uid replace to Auth::id()

iamgarik commented 2 years ago

What about $admin_uid replace to Auth::id()

no i need a specific id to put in $admin_uid

iamgarik commented 2 years ago

Error output

https://monosnap.com/file/LGkt95LZRRnT9wMjY1VyUPHh4IOzdI