From f813e844ef4b7b8945cbdc82c63ab4f4934082ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= Date: Thu, 29 Jan 2009 01:30:42 +0000 Subject: [PATCH] put the user and parent account in the email subject --- bureau/class/m_admin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bureau/class/m_admin.php b/bureau/class/m_admin.php index b18b84ba..c16ae891 100644 --- a/bureau/class/m_admin.php +++ b/bureau/class/m_admin.php @@ -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";