some more comments
[e-DoKo.git] / include / user.php
index 0273183d0ba5a99b909f8319362ac91c82881527..bac439895098d170ba6c86f12fdb93e4631b27ff 100644 (file)
@@ -54,8 +54,8 @@ if(myisset("forgot"))
              "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";
-           $subject = $EmailName.' Recovery';
-           sendmail($email,$subject,$message);
+           $subject = 'Recovery';
+           mymail($myid,$subject,$message);
 
            /* we save these in the database */
            DB_set_recovery_password($myid,md5($newpw));