#21978 [Fbk->Opn]: bbc: send twice

From: Date: Sat, 01 Feb 2003 07:14:27 +0000
Subject: #21978 [Fbk->Opn]: bbc: send twice
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-31828@lists.php.net to get a copy of this message
ID: 21978 User updated by: renato@ostorero.it Reported By: renato@ostorero.it -Status: Feedback +Status: Open Bug Type: *Mail Related Operating System: Windows 2000 Server PHP Version: 4CVS-2003-01-31 (stable) New Comment: 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 <swz@swz.it>\r\n"; $headers .= "Bcc: rostorcasa@rostor.net,\r\n"; $headers .= "Reply-To: SWZone Newsletter <swz@swz.it>\r\n"; $headers .= "X-Priority: 3\r\n"; $headers .= "X-MSMail-Priority: Normal\r\n"; $headers .= "X-Mailer: SWZ Mail Server\r\n"; $to = "newsletter@swzone.it"; $message="ciao"; mail($to, $subject, "$message", $headers); Previous Comments: ------------------------------------------------------------------------ [2003-01-31 17:50:02] iliaa@php.net What are the arguments that you are passing to the mail() function? ------------------------------------------------------------------------ [2003-01-31 05:32:20] renato@ostorero.it I have got the same problem repoted here #21036 I'm using the last CVS of 31-01-03 but still have problem. When I use bbc field, php send mail twice to the recipient, this don't happen in to: and cc: recipent field. Here the debug of my mail server : 01/31/03 12:16:46 ID 1732 - HELO WWWSWZ\0D\0A 01/31/03 12:16:46 ID 1732 - WWWSWZ ( IP: 127.0.0.1 ) has connected to the mail server 01/31/03 12:16:46 ID 1732 - 250 Requested mail action okay, completed\0D\0A 01/31/03 12:16:46 ID 1732 - MAIL FROM:<info@swzone.it>\0D\0A 01/31/03 12:16:46 ID 1732 - info@swzone.it is sending a message to the mail server 01/31/03 12:16:46 ID 1732 - 250 Requested mail action okay, completed\0D\0A 01/31/03 12:16:46 ID 1732 - RCPT TO:<newsletter@swzone.it>\0D\0A 01/31/03 12:16:46 ID 1732 - 250 Requested mail action okay, completed\0D\0A 01/31/03 12:16:46 ID 1732 - RCPT TO:< rostorcasa@rostor.net>\0D\0A 01/31/03 12:16:46 ID 1732 - 250 Requested mail action okay, completed\0D\0A 01/31/03 12:16:46 ID 1732 - RCPT TO:< rostorcasa@rostor.net>\0D\0A 01/31/03 12:16:46 ID 1732 - 250 Requested mail action okay, completed\0D\0A 01/31/03 12:16:46 ID 1732 - DATA\0D\0A 01/31/03 12:16:46 ID 1732 - 354 Start mail input; end with <CRLF>.<CRLF>\0D\0A 01/31/03 12:16:46 ID 1732 - Date: Fri, 31 Jan 2003 12:16:46 +0100\0D\0A 01/31/03 12:16:46 ID 1732 - From: info@swzone.it\0D\0A 01/31/03 12:16:46 ID 1732 - Subject: La Newsletter di Software Zone Italia\0D\0A 01/31/03 12:16:46 ID 1732 - To: newsletter@swzone.it\0D\0A 01/31/03 12:16:46 ID 1732 - MIME-Version: 1.0Content-type: text/html; charset\3Diso-8859-1\0D\0A 01/31/03 12:16:46 ID 1732 - \0D\0A 01/31/03 12:16:46 ID 1732 - ciao\0D\0A 01/31/03 12:16:46 ID 1732 - .\0D\0A 01/31/03 12:16:46 ID 1732 - 250 Requested mail action okay, completed\0D\0A 01/31/03 12:16:46 ID 1732 - QUIT\0D\0A 01/31/03 12:16:46 ID 1732 - 221 <swzone.it> Service closing transmission channel\0D\0A 01/31/03 12:16:46 ID 1732 - WWWSWZ has finished delivering messages to the mail server A message to the address bcc: rostorcasa@rostor.net has been sent twice. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21978&edit=1

« previous php.bugs (#31828) next »