Merge branch 'remove-php-mailer-x-mailer-header' into 'v1.1.x'

Remove PHPMailer X-Mailer header

See merge request framasoft/framadate/framadate!500
This commit is contained in:
Thomas Citharel 2021-12-23 15:31:16 +00:00
commit cffbeaf51d
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ class MailService {
$mail->CharSet = 'UTF-8';
$mail->addCustomHeader('Auto-Submitted', 'auto-generated');
$mail->addCustomHeader('Return-Path', '<>');
$mail->XMailer = ' ';
// Send mail
$mail->send();