put the user and parent account in the email subject
This commit is contained in:
parent
daf93a81f2
commit
f813e844ef
|
@ -405,7 +405,7 @@ EOF;
|
||||||
'%canpass' => $db->Record['canpass'],
|
'%canpass' => $db->Record['canpass'],
|
||||||
'%type' => $db->Record['type'],
|
'%type' => $db->Record['type'],
|
||||||
'%notes' => $db->Record['notes']));
|
'%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";
|
echo "Successfully sent email to $dest";
|
||||||
} else {
|
} else {
|
||||||
echo "Cannot send email to $dest";
|
echo "Cannot send email to $dest";
|
||||||
|
|
Loading…
Reference in New Issue