Commit 5bdace7e authored by Nigel McNie's avatar Nigel McNie
Browse files

Replace emailname with the sitename which will surely give more context.

parent 44ed76ac
......@@ -483,8 +483,6 @@ $string['institutionmemberconfirmmessage'] = 'You have been added as a member of
$string['institutionmemberrejectsubject'] = 'Institution membership request declined';
$string['institutionmemberrejectmessage'] = 'Your request for membership of %s was declined.';
$string['emailname'] = 'Mahara System'; // robot!
$string['config'] = 'Config';
$string['sendmessage'] = 'Send message';
......
......@@ -311,7 +311,7 @@ function email_user($userto, $userfrom, $subject, $messagetext, $messagehtml='',
if (empty($userfrom)) {
$mail->Sender = get_config('noreplyaddress');
$mail->From = $mail->Sender;
$mail->FromName = get_string('emailname');
$mail->FromName = get_config('sitename');
$customheaders[] = 'Precedence: Bulk'; // Try to avoid pesky out of office responses
$messagetext .= "\n\n" . get_string('pleasedonotreplytothismessage') . "\n";
if ($messagehtml) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment