1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-18 21:02:41 +01:00

Send HTML email by default

Summary: Ref T10694. Switch default mode to HTML since it has a number of significant advantages and we haven't seen reports of significant problems.

Test Plan:
  - Switched preference to default (saw "HTML" in UI).
  - Sent myself some mail.
  - Got HTML mail.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10694

Differential Revision: https://secure.phabricator.com/D15885
This commit is contained in:
epriestley 2016-05-10 18:14:06 -07:00
parent 5bb3cbe239
commit 49eb6403a4
2 changed files with 2 additions and 2 deletions

View file

@ -634,7 +634,7 @@ final class PhabricatorMetaMTAMail
}
$mailer->setBody($body);
$html_emails = false;
$html_emails = true;
if ($use_prefs && $prefs) {
$html_emails = $prefs->getPreference(
PhabricatorUserPreferences::PREFERENCE_HTML_EMAILS,

View file

@ -76,7 +76,7 @@ final class PhabricatorEmailFormatSettingsPanel
? pht('Vary')
: pht('Do Not Vary');
$html_emails_default = pht('Plain Text');
$html_emails_default = pht('HTML');
$re_prefix_value = $preferences->getPreference($pref_re_prefix);
if ($re_prefix_value === null) {