From 084068d127a378bc4cc8b40c3fdc71d7032386fe Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Wed, 23 Sep 2009 17:51:03 +0000 Subject: [PATCH] Fix: add Return-Path for simplemail class for used the "error" mail or "form" mail to avoid feedback at www-data --- htdocs/includes/simplemail/class.mail.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/includes/simplemail/class.mail.php b/htdocs/includes/simplemail/class.mail.php index 6b430a0e784..9b4b5890a49 100644 --- a/htdocs/includes/simplemail/class.mail.php +++ b/htdocs/includes/simplemail/class.mail.php @@ -332,6 +332,7 @@ class simplemail { // Mail send by PHPmail function phpmail() { + global $conf; // DOLCHANGE LDR Fix the To in header was not filled foreach ($this->recipientlist as $key => $to) {