#21978 [Fbk->Opn]: bbc: send twice
| From: | renato at ostorero dot it | Date: | Sat, 01 Feb 2003 22:07:06 +0000 |
| Subject: | #21978 [Fbk->Opn]: bbc: send twice | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-31853@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:
Hi Pollita,
test done, with or without the coma the result is always the same,
double mail sent to Bcc recipient.
Previous Comments:
------------------------------------------------------------------------
[2003-02-01 15:59:43] pollita@php.net
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] renato@ostorero.it
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);
------------------------------------------------------------------------
[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