projects
/
e-DoKo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
397a0a1
)
CLEANUP: made emails a bit more personal
author
Arun Persaud
<arun@nubati.net>
Tue, 24 Feb 2009 06:19:00 +0000
(22:19 -0800)
committer
Arun Persaud
<arun@nubati.net>
Tue, 24 Feb 2009 06:19:00 +0000
(22:19 -0800)
included the name of the person in the email
include/functions.php
patch
|
blob
|
history
diff --git
a/include/functions.php
b/include/functions.php
index 7141ec75c86236389a668a33539d870ed0a6fdc8..0559895fbd1ef3684a0c618cf0ab1f83ed5ec1ec 100644
(file)
--- 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
\n
Have 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".