diff --git a/src/MailingList/GoogleGroups.php b/src/MailingList/GoogleGroups.php index 4116110..612d9cd 100644 --- a/src/MailingList/GoogleGroups.php +++ b/src/MailingList/GoogleGroups.php @@ -105,6 +105,19 @@ protected function createList(): void 'json' => $body, ], ); + + // We need to update the list to accept external members. + $updateSettings = [ + 'allowExternalMembers' => 'true', + ]; + + $this->request( + 'PATCH', + "https://www.googleapis.com/groups/v1/groups/{$this->listName}", + [ + 'json' => $updateSettings, + ], + ); } /**