mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00: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:
parent
e79bed4383
commit
0a5168ba6a
1 changed files with 1 additions and 1 deletions
|
@ -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 );
|
||||||
|
|
Loading…
Add table
Reference in a new issue