From 49eb6403a46c677ee163c60ede3c270925a7cd90 Mon Sep 17 00:00:00 2001 From: epriestley Date: Tue, 10 May 2016 18:14:06 -0700 Subject: [PATCH] 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 --- src/applications/metamta/storage/PhabricatorMetaMTAMail.php | 2 +- .../settings/panel/PhabricatorEmailFormatSettingsPanel.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/applications/metamta/storage/PhabricatorMetaMTAMail.php b/src/applications/metamta/storage/PhabricatorMetaMTAMail.php index c4793ed918..1ae5884228 100644 --- a/src/applications/metamta/storage/PhabricatorMetaMTAMail.php +++ b/src/applications/metamta/storage/PhabricatorMetaMTAMail.php @@ -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, diff --git a/src/applications/settings/panel/PhabricatorEmailFormatSettingsPanel.php b/src/applications/settings/panel/PhabricatorEmailFormatSettingsPanel.php index 0d42149441..3396774065 100644 --- a/src/applications/settings/panel/PhabricatorEmailFormatSettingsPanel.php +++ b/src/applications/settings/panel/PhabricatorEmailFormatSettingsPanel.php @@ -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) {