Browse Source

personalise emails send from the server

pull/1943/head
Tobias Diekershoff 7 years ago
parent
commit
dd9f475ff6
  1. 6
      include/enotify.php

6
include/enotify.php

@ -20,7 +20,11 @@ function notification($params) {
$siteurl = $a->get_baseurl(true);
$thanks = t('Thank You,');
$sitename = $a->config['sitename'];
$site_admin = sprintf( t('%s Administrator'), $sitename);
if (!x($a->config['admin_name'])) {
$site_admin = sprintf( t('%s Administrator'), $sitename);
} else {
$site_admin = sprintf( t('%1$s, %2$s Administrator'), $a->config['admin_name'], $sitename);
}
$nickname = "";
$sender_name = $sitename;

Loading…
Cancel
Save