summaryrefslogtreecommitdiffstats
path: root/functions.php
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2007-07-28 10:16:43 -0700
committerArun Persaud <arun@nubati.net>2007-07-28 10:16:43 -0700
commit304fe579fe0d084d73e7e959223cfeb70a50e37a (patch)
tree0c5763dc30182485d44f1bc0eef52f5751eadaaa /functions.php
parent046b683603f1c49460079595f819591b1918c9a2 (diff)
downloade-DoKo-304fe579fe0d084d73e7e959223cfeb70a50e37a.tar.gz
e-DoKo-304fe579fe0d084d73e7e959223cfeb70a50e37a.tar.bz2
e-DoKo-304fe579fe0d084d73e7e959223cfeb70a50e37a.zip
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
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)
{