Skip to content

Commit

Permalink
fix: handle exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
Danilo Argentiero committed Dec 17, 2018
1 parent d3a59eb commit b4e035a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Mail/Transport.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public function setContent(): void
public function getMailer(): \PHPMailer\PHPMailer\PHPMailer
{
if (!$this->mailer) {
$this->mailer = new PHPMailer();
$this->mailer = new PHPMailer(true);
}
return $this->mailer;
}
Expand Down
2 changes: 1 addition & 1 deletion etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="MSP_SMTP" setup_version="2.3.3">
<module name="MSP_SMTP" setup_version="2.3.4">
<sequence>
<module name="Magento_Email"/>
</sequence>
Expand Down

0 comments on commit b4e035a

Please sign in to comment.