put the user and parent account in the email subject

This commit is contained in:
Antoine Beaupré 2009-01-29 01:30:42 +00:00
parent daf93a81f2
commit f813e844ef
1 changed files with 1 additions and 1 deletions

View File

@ -405,7 +405,7 @@ EOF;
'%canpass' => $db->Record['canpass'],
'%type' => $db->Record['type'],
'%notes' => $db->Record['notes']));
if (mail($dest,"New account on $L_HOSTING",$mail,"From: postmaster@$L_FQDN")) {
if (mail($dest,"New account (" . .$db->Record['login']." from ".$db->Record['parentlogin'].") on $L_HOSTING",$mail,"From: postmaster@$L_FQDN")) {
echo "Successfully sent email to $dest";
} else {
echo "Cannot send email to $dest";