use site name as default sender

darcs-hash:20080615030319-84dde-3dc38d515b029424027c3160e06e62ce8b7dd29a.gz
This commit is contained in:
Evan Prodromou 2008-06-14 23:03:19 -04:00
parent 024dc6c098
commit 16e7e96a5f
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ function mail_notify_from() {
if ($config['mail']['notifyfrom']) {
return $config['mail']['notifyfrom'];
} else {
return 'Do Not Reply <nobody@'.$config['site']['server'].'>';
return $config['site']['name'] . ' <noreply@'.$config['site']['server'].'>';
}
}