From: Arun Persaud Date: Sat, 28 Jul 2007 17:16:43 +0000 (-0700) Subject: BUGFIX: use email reply address for sending X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=304fe579fe0d084d73e7e959223cfeb70a50e37a;p=e-DoKo.git BUGFIX: use email reply address for sending the ini_set method didn't seem to work for some reason. Setting the From in the header does work though --- diff --git a/functions.php b/functions.php index 6fe8137..c6a4a09 100644 --- a/functions.php +++ b/functions.php @@ -51,7 +51,10 @@ function config_check() function mymail($To,$Subject,$message,$header="") { - global $debug; + global $debug,$EMAIL_REPLY; + + if(isset($EMAIL_REPLY)) + $header .= "From: e-DoKo daemon <$EMAIL_REPLY>\r\n"; if($debug) {