CLEANUP: made emails a bit more personal
[e-DoKo.git] / include / functions.php
index 7141ec75c86236389a668a33539d870ed0a6fdc8..0559895fbd1ef3684a0c618cf0ab1f83ed5ec1ec 100644 (file)
@@ -73,10 +73,11 @@ function mymail($uid,$subject,$message)
       $subject = "$EmailName".$subject;
 
       /* standard greeting */
-      $header  = "Hello ...\n\n";
+      $name    = DB_get_name('userid',$uid);
+      $header  = "Hello $name\n\n";
 
       /* and standard goodbye */
-      $footer  = "\n\nHave a nice day\n".
+      $footer  = "\nHave a nice day\n".
        "   your E-Doko service department\n\n".
        "-- \n".
        "You can change your mail delivery mode in the preference menu.\n".