summaryrefslogtreecommitdiff
path: root/inc/mail.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2007-06-13 17:32:01 +0200
committerAndreas Gohr <andi@splitbrain.org>2007-06-13 17:32:01 +0200
commitba36e50e218d376617ba001263d7fa7728717209 (patch)
tree0f6b4cf4704869c4c281f81bd185871f13a7fe47 /inc/mail.php
parentc9321d914faa3e35ad2bfc961b414f870691656b (diff)
downloadrpg-ba36e50e218d376617ba001263d7fa7728717209.tar.gz
rpg-ba36e50e218d376617ba001263d7fa7728717209.tar.bz2
fix for encoding email addresses
There was a problem in the mail header builder which left out a space between real names and the email address, which broke certain mailers. darcs-hash:20070613153201-7ad00-df21a26f31a199c2a1e8754d76b23afcf7981539.gz
Diffstat (limited to 'inc/mail.php')
-rw-r--r--inc/mail.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/mail.php b/inc/mail.php
index a31385914..bd05f31eb 100644
--- a/inc/mail.php
+++ b/inc/mail.php
@@ -132,7 +132,7 @@ function mail_encode_address($string,$header='',$names=true){
// add to header comma seperated and in new line to avoid too long headers
if($headers != '') $headers .= ','.MAILHEADER_EOL.' ';
- $headers .= $text.$addr;
+ $headers .= $text.' '.$addr;
}
if(empty($headers)) return null;