From d2e378fb0b9dcdb0f810c4c5b50b69720d90397a Mon Sep 17 00:00:00 2001 From: martin Date: Sat, 18 May 2002 06:36:51 +0000 Subject: [PATCH] Added Moodle into the X-Mailer: header --- lib/phpmailer/class.phpmailer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/phpmailer/class.phpmailer.php b/lib/phpmailer/class.phpmailer.php index bc9e783b9a..2942f90a7e 100644 --- a/lib/phpmailer/class.phpmailer.php +++ b/lib/phpmailer/class.phpmailer.php @@ -760,7 +760,7 @@ class phpmailer $header[] = sprintf("Subject: %s\r\n", trim($this->Subject)); $header[] = sprintf("X-Priority: %d\r\n", $this->Priority); - $header[] = sprintf("X-Mailer: phpmailer [version %s]\r\n", $this->Version); + $header[] = sprintf("X-Mailer: Moodle phpmailer [version %s]\r\n", $this->Version); $header[] = sprintf("Return-Path: %s\r\n", trim($this->From)); // Add custom headers -- 2.39.5