From d661e260855977d34672388cfa8766de55a73f93 Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Fri, 13 Feb 2009 23:40:26 -0800 Subject: CLEANUP: make emails more uniform provide a standard header and footer. Also prepare for emails to be send to the database for later delivery. --- include/user.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/user.php') diff --git a/include/user.php b/include/user.php index 6cc9637..8855fc0 100644 --- a/include/user.php +++ b/include/user.php @@ -53,8 +53,9 @@ if(myisset("forgot")) " $newpw \n". "to log into the server. The new password is valid for 24h, so make\n". "sure you reset your password to something new. Your old password will\n". - " also still be valid until you set a new one\n"; - mymail($email,$EmailName."recovery ",$message); + "also still be valid until you set a new one.\n"; + $subject = $EmailName.' Recovery'; + sendmail($email,$subject,$message); /* we save these in the database */ DB_set_recovery_password($myid,md5($newpw)); -- cgit v1.2.3-18-g5258