mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-16 11:53:54 +00:00
Fix phpmailer (Case sensitive Check)
This commit is contained in:
parent
2365a9ae02
commit
7fd4511a21
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ function phpmailer_emailer_send_prepare(App $a, IEmail &$email)
|
|||
if (!empty($email->getAdditionalMailHeader())) {
|
||||
foreach ($email->getAdditionalMailHeader() as $name => $values) {
|
||||
// Set the "Message-ID" header for PHP-Mailer directly
|
||||
if ($name == 'Message-Id') {
|
||||
if (strtolower($name) === 'message-id') {
|
||||
// implode all values to one entry, because there's only one value possible
|
||||
$mailer->MessageID = trim(implode("", $values));
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue