laravel-gmail icon indicating copy to clipboard operation
laravel-gmail copied to clipboard

Is this possible one user(admin) grant access of his/her email. Remaining all users(officers) can access email in my system?

Open saeedulhassan23 opened this issue 5 years ago • 5 comments

At this time the flow is , if any user wants access an email, Gmail will ask for grant their email access, I want admin to grant access to email so other users can access all mails of that email.

saeedulhassan23 avatar Oct 16 '20 07:10 saeedulhassan23

Try this

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

uacode avatar Sep 15 '21 13:09 uacode

Try this

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

not working (

iamgarik avatar Apr 21 '22 19:04 iamgarik

@iamgarik What version of package installed?

uacode avatar Apr 21 '22 19:04 uacode

"version": "v5.1.21",

iamgarik avatar Apr 21 '22 19:04 iamgarik

screen error https://monosnap.com/file/LGkt95LZRRnT9wMjY1VyUPHh4IOzdI

iamgarik avatar Apr 21 '22 19:04 iamgarik