From 2728cdaf2382ed64942f6a0761279f2fde55375f Mon Sep 17 00:00:00 2001 From: redmatrix Date: Thu, 29 Sep 2016 17:54:11 -0700 Subject: change notify param --- include/network.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/network.php b/include/network.php index c23005935..d8e662083 100644 --- a/include/network.php +++ b/include/network.php @@ -1939,7 +1939,9 @@ function format_and_send_email($sender,$xchan,$item) { $hostname = App::get_hostname(); if(strpos($hostname,':')) $hostname = substr($hostname,0,strpos($hostname,':')); - $sender_email = 'noreply' . '@' . $hostname; + $sender_email = get_config('system','reply_address'); + if(! $sender_email) + $sender_email = 'noreply' . '@' . $hostname; // use the EmailNotification library to send the message -- cgit v1.2.3