Page MenuHomePhabricator

D19124.diff
No OneTemporary

D19124.diff

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
@@ -1302,6 +1302,11 @@
$headers[] = array('Thread-Topic', $related_phid);
}
+ $headers[] = array('X-Phabricator-Mail-ID', $this->getID());
+
+ $unique = Filesystem::readRandomCharacters(16);
+ $headers[] = array('X-Phabricator-Send-Attempt', $unique);
+
return $headers;
}
@@ -1356,6 +1361,8 @@
'X-Phabricator-Sent-This-Message',
'X-Phabricator-Must-Encrypt',
+ 'X-Phabricator-Mail-ID',
+ 'X-Phabricator-Send-Attempt',
);
// NOTE: The major header we want to drop is "X-Phabricator-Mail-Tags".

File Metadata

Mime Type
text/plain
Expires
Wed, Apr 2, 9:14 PM (3 d, 20 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7394676
Default Alt Text
D19124.diff (833 B)

Event Timeline