1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-06 07:35:29 +02:00

Fix trailing , on email addresses

git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@2715 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2002-07-19 13:48:24 +00:00
parent e79bed4383
commit 0a5168ba6a

View File

@ -170,7 +170,7 @@ function smtpmail($mail_to, $subject, $message, $headers = "")
fputs( $socket, "RCPT TO: <$mail_to_address>\r\n" ); fputs( $socket, "RCPT TO: <$mail_to_address>\r\n" );
server_parse( $socket, "250" ); server_parse( $socket, "250" );
} }
$to_header .= "<$mail_to_address>, "; $to_header .= ( ( $mail_to_address != '' ) ? ', ' : '' ) . "<$mail_to_address>";
} }
// Ok now do the CC and BCC fields... // Ok now do the CC and BCC fields...
@reset( $bcc ); @reset( $bcc );