ID: 21978 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Closed Bug Type: *Mail Related Operating System: Windows 2000 Server PHP Version: 4CVS-2003-01-31 (stable) Assigned To: pollita New Comment:
This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Since I've just applied the patch to the stable branch which fixes this bug I'm going to assume for the moment that it'll solve your problem. If you try a snapshot (built *after* the patch was applied) and it still occurs, reopen the bug and we can dig deeper. You'll need to grab a win32 STABLE snapshot built AFTER Feb 3, 2003 1:30am GMT, or any of the DEV snapshots shown on snaps.php.net . Previous Comments: ------------------------------------------------------------------------ [2003-02-01 19:18:24] [EMAIL PROTECTED] I just noticed you're using a stable snapshot and that my fix for #21036 was only done against the dev branch. Before I commit the fix to the stable branch, can I just have you try downloading a dev snapshot from http://snaps.php.net (use: Win32 Package - Latest CVS 5.0.x-dev) and see if that one behaves as expected? ------------------------------------------------------------------------ [2003-02-01 16:07:06] [EMAIL PROTECTED] Hi Pollita, test done, with or without the coma the result is always the same, double mail sent to Bcc recipient. ------------------------------------------------------------------------ [2003-02-01 15:59:43] [EMAIL PROTECTED] Hrmm, well this definately seems related to #21036, but with the data you're sending in headers it seems like there's some key element missing... Can I ask you to try again without the coma at the end of the bcc address? This could be causing a problem with the bcc tokenization. ------------------------------------------------------------------------ [2003-02-01 01:14:27] [EMAIL PROTECTED] These are the arguments I pass to mail() function : $headers = "MIME-Version: 1.0"; $headers .= "Content-type: text/html; charset=iso-8859-1\r\n"; $headers .= "From: SWZone Newsletter <[EMAIL PROTECTED]>\r\n"; $headers .= "Bcc: [EMAIL PROTECTED],\r\n"; $headers .= "Reply-To: SWZone Newsletter <[EMAIL PROTECTED]>\r\n"; $headers .= "X-Priority: 3\r\n"; $headers .= "X-MSMail-Priority: Normal\r\n"; $headers .= "X-Mailer: SWZ Mail Server\r\n"; $to = "[EMAIL PROTECTED]"; $message="ciao"; mail($to, $subject, "$message", $headers); ------------------------------------------------------------------------ [2003-01-31 17:50:02] [EMAIL PROTECTED] What are the arguments that you are passing to the mail() function? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/21978 -- Edit this bug report at http://bugs.php.net/?id=21978&edit=1