From ba36e50e218d376617ba001263d7fa7728717209 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Wed, 13 Jun 2007 17:32:01 +0200 Subject: 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 --- inc/mail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/mail.php') 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; -- cgit v1.2.3