1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-05 18:52:44 +01:00

Merge pull request #4869 from turbo124/v5-develop

Temporarily disable attachments from gmail emails
This commit is contained in:
David Bomba 2021-02-11 08:25:16 +11:00 committed by GitHub
commit 0a6907349d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();