Tuning mime types for attachments

This commit is contained in:
David Bomba 2021-02-11 10:55:08 +11:00
parent 8a533e59d9
commit 22fdb082b0

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