1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Merge pull request #4871 from turbo124/v5-develop

Tuning mime types for attachments
This commit is contained in:
David Bomba 2021-02-11 10:55:25 +11:00 committed by GitHub
commit 00954067d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,7 +64,7 @@ class GmailTransport extends Transport
nlog("trying to attach");
nlog($child->getContentType());
if($child->getContentType() == 'multipart/related')
if($child->getContentType() != 'text/plain')
$this->gmail->attach($child);