Skip to content

Commit

Permalink
Set header encoding to utf-8
Browse files Browse the repository at this point in the history
As suggested here magepal#152 (comment)
  • Loading branch information
avoelkl authored Jan 17, 2020
1 parent 570a1fc commit a86dc34
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Model/TwoDotThree/Smtp.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ public function sendSmtpMessage(

$encoding = $message->getEncoding();
$message = Message::fromString($message->getRawMessage());
$message->getHeaders()->setEncoding('utf-8');
$message->setEncoding($encoding);

//Set reply-to path
Expand Down

0 comments on commit a86dc34

Please sign in to comment.