From abe5f5a2c58e9963fd17537871c1564dc25abfb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arne=20J=C3=B8rgensen?= Date: Thu, 22 Jan 2026 20:23:56 +0100 Subject: [PATCH] Explicitly allow external members on lists we create in Google Groups See https://support.google.com/a/answer/16778447 --- src/MailingList/GoogleGroups.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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, + ], + ); } /**