mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
Merge pull request #10469 from owncloud/remove-xmailer-header
Remove X-Mailer header from mails
This commit is contained in:
commit
4c79d34980
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue