Skip to content

Commit

Permalink
closes sendinblue#4
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcello Mastellone authored and Marcello Mastellone committed Oct 31, 2019
1 parent cf4db39 commit 6cdf7b6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Model/Transport.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
use Zend\Mail\Transport\SmtpOptions;
use Zend\Mail\Transport\Smtp;

class Transport
class Transport extends \Zend_Mail_Transport_Smtp implements \Magento\Framework\Mail\TransportInterface
{
/** @var MessageInterface */
protected $_message;
Expand Down
1 change: 0 additions & 1 deletion etc/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<!-- for override magento default Transport class with our custom module model-->
<preference for="\Magento\Framework\Mail\Transport" type="Sendinblue\Sendinblue\Model\Transport"/>
<preference for="\Magento\Framework\Mail\TransportInterface" type="Sendinblue\Sendinblue\Model\Transport"/>
</config>

0 comments on commit 6cdf7b6

Please sign in to comment.