Skip to content

Commit

Permalink
MailManager.php: fix charset and encoding, to allow non-utf8 email cl…
Browse files Browse the repository at this point in the history
…ients

As usual: a windows "feature"
  • Loading branch information
jonsito committed Mar 21, 2017
1 parent 36284ae commit ec8c2dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions agility/server/mail/MailManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ private function setup_mailer_from_config(&$myMailer) {
$data=$this->myAuthManager->getRegistrationInfo();
$myMailer->setFrom($data['Email'], $data['Name']);
$myMailer->addReplyTo($data['Email'], $data['Name']);
$myMailer->CharSet = "UTF-8";
$myMailer->Encoding = "base64";
}

/**
Expand Down

0 comments on commit ec8c2dc

Please sign in to comment.