Skip to content
Snippets Groups Projects
Commit ba36e50e authored by Andreas Gohr's avatar Andreas Gohr
Browse files

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
parent c9321d91
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment