summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2019-10-04 16:36:27 +0200
committerUrban Müller2019-10-04 16:36:27 +0200
commit9f948f44cdc55b9cac093eb14b0e453901953075 (patch)
treed2d0207de181d499160179f6e9bf458c1efc38b0
parentbbf17c9125e0c9ce53f77e9144eac691c58ccb3b (diff)
downloaditools-9f948f44cdc55b9cac093eb14b0e453901953075.tar.gz
itools-9f948f44cdc55b9cac093eb14b0e453901953075.tar.bz2
itools-9f948f44cdc55b9cac093eb14b0e453901953075.zip
avoid bouncing replies to system users
-rw-r--r--it.class1
1 files changed, 1 insertions, 0 deletions
diff --git a/it.class b/it.class
index 097dcd9..96ec965 100644
--- a/it.class
+++ b/it.class
@@ -295,6 +295,7 @@ static function error($p = array())
it::mail([
'From' => "\"$user@" . gethostname() . "\" <$user>",
'To' => $p['to'],
+ 'Reply-To' => $p['to'],
'Cc' => $GLOBALS['it_defaultconfig']['error_cc'],
'Subject' => $type . substr($p['title'], 0, 160),
'Body' => $body,