https://reisub.nsupdate.info/git
/
friendica-addons.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2365a9a
)
Fix phpmailer (Case sensitive Check)
author
Philipp
<admin@philipp.info>
Tue, 22 Sep 2020 20:48:34 +0000
(22:48 +0200)
committer
Philipp
<admin@philipp.info>
Tue, 22 Sep 2020 20:48:34 +0000
(22:48 +0200)
phpmailer/phpmailer.php
patch
|
blob
|
history
diff --git
a/phpmailer/phpmailer.php
b/phpmailer/phpmailer.php
index
5b43c8f
..
3f6f5f5
100644
(file)
--- a/
phpmailer/phpmailer.php
+++ b/
phpmailer/phpmailer.php
@@
-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-I
d') {
+ if (
strtolower($name) === 'message-i
d') {
// implode all values to one entry, because there's only one value possible
$mailer->MessageID = trim(implode("", $values));
} else {