1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-19 20:10:55 +01:00

Fix UTF-8 in email

Summary:
Email was not being sent with the right headers/encoding for UTF-8.

Test Plan:
Sent UTF-8 mail using SES, default and SendGrid adapters. SendGrid already
worked; SES and default share the same code so this fixes both.

Reviewed By: slawekbiel
Reviewers: slawekbiel, aran, jungejason, tuomaspelkonen
CC: aran, slawekbiel
Differential Revision: 401
This commit is contained in:
epriestley 2011-06-06 17:48:55 -07:00
parent b8e1ead481
commit acdb215310

View file

@ -24,6 +24,7 @@ class PhabricatorMailImplementationPHPMailerLiteAdapter
$root = dirname($root);
require_once $root.'/externals/phpmailer/class.phpmailer-lite.php';
$this->mailer = newv('PHPMailerLite', array($use_exceptions = true));
$this->mailer->CharSet = 'utf-8';
}
public function supportsMessageIDHeader() {