diff --git a/app/Helpers/Mail/GmailTransport.php b/app/Helpers/Mail/GmailTransport.php index b22c8b0d86c0..81182b44d27d 100644 --- a/app/Helpers/Mail/GmailTransport.php +++ b/app/Helpers/Mail/GmailTransport.php @@ -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);