Skip to content

Commit

Permalink
Add support for 2.4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
srenon committed Feb 8, 2023
1 parent 1213595 commit 6429d48
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Mail/Smtp.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@
* Class Smtp
* For Magento <= 2.2.7
*/

class Smtp
{ /**
* @var Data
*/
{
/**
* @var Data
*/
protected $dataHelper;

/**
Expand Down Expand Up @@ -98,7 +98,9 @@ protected function convertMessage($message)
}

if (!$zendMessage instanceof Message) {
throw new MailException('Not instance of Message');
throw new MailException(
__('Not instance of Message')
);
}
} catch (Exception $e) {
$zendMessage = Message::fromString($message->getRawMessage());
Expand Down

0 comments on commit 6429d48

Please sign in to comment.