diff options
author | Andreas Gohr <andi@splitbrain.org> | 2007-06-13 17:32:01 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2007-06-13 17:32:01 +0200 |
commit | ba36e50e218d376617ba001263d7fa7728717209 (patch) | |
tree | 0f6b4cf4704869c4c281f81bd185871f13a7fe47 /inc | |
parent | c9321d914faa3e35ad2bfc961b414f870691656b (diff) | |
download | rpg-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')
-rw-r--r-- | inc/mail.php | 2 |
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; |