mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 22:10:55 +01:00
Don't double-generate message IDs.
Summary: Test Plan: Reviewers: CC:
This commit is contained in:
parent
91fb157253
commit
b7801c44fe
1 changed files with 5 additions and 1 deletions
|
@ -51,7 +51,11 @@ class PhabricatorMailImplementationPHPMailerLiteAdapter
|
|||
}
|
||||
|
||||
public function addHeader($header_name, $header_value) {
|
||||
if (strtolower($header_name) == 'message-id') {
|
||||
$this->mailer->MessageID = $header_value;
|
||||
} else {
|
||||
$this->mailer->AddCustomHeader($header_name.': '.$header_value);
|
||||
}
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue