summaryrefslogtreecommitdiffstats
path: root/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php5
1 files changed, 4 insertions, 1 deletions
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)
{