diff --git a/.gitignore b/.gitignore index 18ba65e..a9a8d5f 100644 --- a/.gitignore +++ b/.gitignore @@ -13,4 +13,5 @@ vendor .project .settings -.idea \ No newline at end of file +.idea +composer.lock \ No newline at end of file diff --git a/src/Message/MailerQ/Rest/MessageFacade.php b/src/Message/MailerQ/Rest/MessageFacade.php index 4de3316..5965901 100644 --- a/src/Message/MailerQ/Rest/MessageFacade.php +++ b/src/Message/MailerQ/Rest/MessageFacade.php @@ -53,7 +53,7 @@ public static function convert(\G4\Mailer\Message $message, array $options) ]; if (isset($options[self::PARAMS][self::SMARTHOST])) { - $body[self::MIME][self::SMARTHOST] = $options[self::PARAMS][self::SMARTHOST]; + $body[self::SMARTHOST] = $options[self::PARAMS][self::SMARTHOST]; } if ($message->getLogId()) { @@ -95,4 +95,4 @@ private static function getTags($headers) throw new \RuntimeException(sprintf('Tags are not resolved. Reason: %s', $exception->getMessage())); } } -} \ No newline at end of file +}