From: Arun Persaud Date: Tue, 24 Feb 2009 06:19:00 +0000 (-0800) Subject: CLEANUP: made emails a bit more personal X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=commitdiff_plain;h=8e50d2401a3379114bf58d9532589af0a5bae2ca CLEANUP: made emails a bit more personal included the name of the person in the email --- diff --git a/include/functions.php b/include/functions.php index 7141ec7..0559895 100644 --- a/include/functions.php +++ b/include/functions.php @@ -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".