Tuning mime types for attachments
This commit is contained in:
parent
8a533e59d9
commit
22fdb082b0
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue