diff options
author | Lukas Reschke <lukas@owncloud.com> | 2014-08-17 18:55:13 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2014-08-17 18:55:13 +0200 |
commit | a2677c14c8bce4eb6fb90b1c8e51c59623f731e6 (patch) | |
tree | 742d0c8ce9ca8ea58d659ce5bc5b0c2278c57156 | |
parent | b1415fc4fc3dd82ffc7b63e57d44fc04635fc5aa (diff) | |
download | nextcloud-server-a2677c14c8bce4eb6fb90b1c8e51c59623f731e6.tar.gz nextcloud-server-a2677c14c8bce4eb6fb90b1c8e51c59623f731e6.zip |
Remove X-Mailer header from mails
-rw-r--r-- | lib/private/mail.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/mail.php b/lib/private/mail.php index 82107c32dc7..691ae1dd33f 100644 --- a/lib/private/mail.php +++ b/lib/private/mail.php @@ -70,6 +70,7 @@ class OC_Mail { $mailo->From = $fromaddress; $mailo->FromName = $fromname;; $mailo->Sender = $fromaddress; + $mailo->XMailer = ' '; try { $toaddress = self::buildAsciiEmail($toaddress); $mailo->AddAddress($toaddress, $toname); |