From 304fe579fe0d084d73e7e959223cfeb70a50e37a Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Sat, 28 Jul 2007 10:16:43 -0700 Subject: [PATCH] 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 --- functions.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) { -- 2.25.1