summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-08-17 21:46:11 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-08-17 21:46:11 +0200
commit4c79d34980a6e21ee9942f7ec41e604509fc3062 (patch)
tree17aad97230dde7cf954f9bdc32d0d6b4dd0738a9 /lib
parent69e0e23789cab66bc8680554abcb5ffa6ba630ab (diff)
parenta2677c14c8bce4eb6fb90b1c8e51c59623f731e6 (diff)
downloadnextcloud-server-4c79d34980a6e21ee9942f7ec41e604509fc3062.tar.gz
nextcloud-server-4c79d34980a6e21ee9942f7ec41e604509fc3062.zip
Merge pull request #10469 from owncloud/remove-xmailer-header
Remove X-Mailer header from mails
Diffstat (limited to 'lib')
-rw-r--r--lib/private/mail.php1
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);