projects
/
e-DoKo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
046b683
)
BUGFIX: use email reply address for sending
author
Arun Persaud
<arun@nubati.net>
Sat, 28 Jul 2007 17:16:43 +0000
(10:16 -0700)
committer
Arun Persaud
<arun@nubati.net>
Sat, 28 Jul 2007 17:16:43 +0000
(10:16 -0700)
the ini_set method didn't seem to work for some reason.
Setting the From in the header does work though
functions.php
patch
|
blob
|
history
diff --git
a/functions.php
b/functions.php
index 6fe813734755166a63c1ac3a33918d751d50d794..c6a4a098e70824a56866fbb8cdc0788dec2e1c3e 100644
(file)
--- 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)
{