We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2e2646 commit 0aa02feCopy full SHA for 0aa02fe
lib/internal/Magento/Framework/Mail/Template/TransportBuilder.php
@@ -394,7 +394,12 @@ protected function prepareMessage()
394
}
395
396
/** @var \Magento\Framework\Mail\MimePartInterface $mimePart */
397
- $mimePart = $this->mimePartInterfaceFactory->create(['content' => $content]);
+ $mimePart = $this->mimePartInterfaceFactory->create(
398
+ [
399
+ 'content' => $content,
400
+ 'type' => $part['type']
401
+ ]
402
+ );
403
$this->messageData['encoding'] = $mimePart->getCharset();
404
$this->messageData['body'] = $this->mimeMessageInterfaceFactory->create(
405
['parts' => [$mimePart]]
0 commit comments