diff options
author | Arun Persaud <arun@nubati.net> | 2009-02-23 22:19:00 -0800 |
---|---|---|
committer | Arun Persaud <arun@nubati.net> | 2009-02-23 22:19:00 -0800 |
commit | 8e50d2401a3379114bf58d9532589af0a5bae2ca (patch) | |
tree | ee17b0c9fb8ff27251c40b3e6dc1b845aaf76654 /include/functions.php | |
parent | 397a0a16021c28327d45568637cbcc7c05c1c27d (diff) | |
download | e-DoKo-8e50d2401a3379114bf58d9532589af0a5bae2ca.tar.gz e-DoKo-8e50d2401a3379114bf58d9532589af0a5bae2ca.tar.bz2 e-DoKo-8e50d2401a3379114bf58d9532589af0a5bae2ca.zip |
CLEANUP: made emails a bit more personal
included the name of the person in the email
Diffstat (limited to 'include/functions.php')
-rw-r--r-- | include/functions.php | 5 |
1 files changed, 3 insertions, 2 deletions
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". |