Commit cffbeaf5 authored by Thomas Citharel's avatar Thomas Citharel
Browse files

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

Remove PHPMailer X-Mailer header

See merge request framasoft/framadate/framadate!500
parents 7465852e 7343463c
......@@ -61,6 +61,7 @@ class MailService {
$mail->CharSet = 'UTF-8';
$mail->addCustomHeader('Auto-Submitted', 'auto-generated');
$mail->addCustomHeader('Return-Path', '<>');
$mail->XMailer = ' ';
// Send mail
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment