mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Tuning mime types for attachments
This commit is contained in:
parent
8a533e59d9
commit
22fdb082b0
@ -64,7 +64,7 @@ class GmailTransport extends Transport
|
|||||||
nlog("trying to attach");
|
nlog("trying to attach");
|
||||||
nlog($child->getContentType());
|
nlog($child->getContentType());
|
||||||
|
|
||||||
if($child->getContentType() == 'multipart/related')
|
if($child->getContentType() != 'text/plain')
|
||||||
$this->gmail->attach($child);
|
$this->gmail->attach($child);
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user