From c9d58d7af794ab2df3ba5b6c4bc4d18d0f3a530b Mon Sep 17 00:00:00 2001 From: = Date: Wed, 10 Feb 2021 23:03:58 +1100 Subject: [PATCH] Temporarily disable attachments from gmail emails --- app/Helpers/Mail/GmailTransport.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/app/Helpers/Mail/GmailTransport.php b/app/Helpers/Mail/GmailTransport.php index d18c96dcc1..5da256a2f6 100644 --- a/app/Helpers/Mail/GmailTransport.php +++ b/app/Helpers/Mail/GmailTransport.php @@ -60,11 +60,13 @@ class GmailTransport extends Transport $this->gmail->cc($message->getCc()); $this->gmail->bcc($message->getBcc()); - nlog(print_r($message->getChildren(), 1)); + nlog($message->getChildren()); - foreach ($message->getChildren() as $child) { - $this->gmail->attach($child); - } //todo this should 'just work' + // foreach ($message->getChildren() as $child) { + // nlog("trying to attach"); + // nlog($child); + // $this->gmail->attach($child); + // } //todo this should 'just work' $this->gmail->send();