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 14eeea2 commit 80af207Copy full SHA for 80af207
lib/internal/Magento/Framework/Mail/Transport.php
@@ -7,7 +7,7 @@
7
8
use Magento\Framework\Exception\MailException;
9
use Magento\Framework\Phrase;
10
-use Zend\Mail\Message;
+use Zend\Mail\Message as ZendMessage;
11
use Zend\Mail\Transport\Sendmail;
12
13
class Transport implements \Magento\Framework\Mail\TransportInterface
@@ -39,7 +39,7 @@ public function sendMessage()
39
{
40
try {
41
$this->zendTransport->send(
42
- Message::fromString($this->message->getRawMessage())
+ ZendMessage::fromString($this->message->getRawMessage())
43
);
44
} catch (\Exception $e) {
45
throw new MailException(new Phrase($e->getMessage()), $e);
0 commit comments