diff --git a/Mail/Smtp.php b/Mail/Smtp.php index 65ed7f5..b54cbe0 100644 --- a/Mail/Smtp.php +++ b/Mail/Smtp.php @@ -25,11 +25,11 @@ * Class Smtp * For Magento <= 2.2.7 */ - class Smtp -{ /** - * @var Data - */ +{ + /** + * @var Data + */ protected $dataHelper; /** @@ -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());