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:
commit
cffbeaf51d
@ -61,6 +61,7 @@ class MailService {
|
|||||||
$mail->CharSet = 'UTF-8';
|
$mail->CharSet = 'UTF-8';
|
||||||
$mail->addCustomHeader('Auto-Submitted', 'auto-generated');
|
$mail->addCustomHeader('Auto-Submitted', 'auto-generated');
|
||||||
$mail->addCustomHeader('Return-Path', '<>');
|
$mail->addCustomHeader('Return-Path', '<>');
|
||||||
|
$mail->XMailer = ' ';
|
||||||
|
|
||||||
// Send mail
|
// Send mail
|
||||||
$mail->send();
|
$mail->send();
|
||||||
|
Loading…
Reference in New Issue
Block a user