admin管理员组

文章数量:1302277

I have shared [email protected]'s calendar with [email protected]. Now, using [email protected]'s credentials, I am creating a calendar event in [email protected]'s calendar. The event notification is sent from [email protected].

However, when I update the event, the notification is sent from [email protected] instead.

Here is the code for event creation:

$calendarService->events->insert('[email protected]', $event, ['sendNotifications' => true]);

Here is the code for updating the event:

$calendarService->events->update('[email protected]', $event->getId(), $event, ['sendNotifications' => true]);

I want the email to be sent from the same email address, which is [email protected].

本文标签: