Skip to content

Commit

Permalink
Merge pull request #543 from ben-so/dev
Browse files Browse the repository at this point in the history
Set Charset for PHPMailer to UTF-8
  • Loading branch information
kiswa authored Jul 31, 2020
2 parents 3ac245e + 52ae46e commit fb54058
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/api/helpers/Mailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ private function initMail() {
$this->mail->isSendmail();

$this->mail->setFrom(Mailer::FROM_EMAIL, Mailer::FROM_NAME);
$this->mail->CharSet = PHPMailer::CHARSET_UTF8;

// @codeCoverageIgnoreStart
if (!Mailer::USE_SENDMAIL) {
Expand Down

0 comments on commit fb54058

Please sign in to comment.