Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15439479
D19000.id45599.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
680 B
Referenced Files
None
Subscribers
None
D19000.id45599.diff
View Options
diff --git a/src/applications/metamta/storage/PhabricatorMetaMTAMail.php b/src/applications/metamta/storage/PhabricatorMetaMTAMail.php
--- a/src/applications/metamta/storage/PhabricatorMetaMTAMail.php
+++ b/src/applications/metamta/storage/PhabricatorMetaMTAMail.php
@@ -592,6 +592,12 @@
$mailer->setFrom($from_email, $from_name);
break;
case 'from':
+ // If the mail content must be encrypted, disguise the sender.
+ if ($must_encrypt) {
+ $mailer->setFrom($default_from, pht('Phabricator'));
+ break;
+ }
+
$from = $value;
$actor_email = null;
$actor_name = null;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 27, 7:44 AM (5 d, 14 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7699691
Default Alt Text
D19000.id45599.diff (680 B)
Attached To
Mode
D19000: Mask the sender for "Must Encrypt" mail
Attached
Detach File
Event Timeline
Log In to Comment