Merge branch 'MDL-53262-verp-confirm-from-support' of https://github.com/brendanheywo...
authorDan Poltawski <dan@moodle.com>
Mon, 21 Mar 2016 03:37:35 +0000 (11:37 +0800)
committerDan Poltawski <dan@moodle.com>
Mon, 21 Mar 2016 03:37:35 +0000 (11:37 +0800)
admin/tool/messageinbound/classes/manager.php

index 8364e90..b358d33 100644 (file)
@@ -895,7 +895,7 @@ class manager {
         $userfrom->customheaders[] = 'In-Reply-To: ' . $messageid;
 
         // The message will be sent from the intended user.
-        $eventdata->userfrom            = \core_user::get_noreply_user();
+        $eventdata->userfrom            = \core_user::get_support_user();
         $eventdata->userto              = $USER;
         $eventdata->subject             = $this->get_reply_subject($this->currentmessagedata->envelope->subject);
         $eventdata->fullmessage         = get_string('invalidrecipientdescription', 'tool_messageinbound', $this->currentmessagedata);