ID:               21978
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Feedback
 Bug Type:         *Mail Related
 Operating System: Windows 2000 Server
 PHP Version:      4CVS-2003-01-31 (stable)
 New Comment:

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.


Previous Comments:
------------------------------------------------------------------------

[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?

------------------------------------------------------------------------

[2003-01-31 05:32:20] [EMAIL PROTECTED]

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:<[EMAIL PROTECTED]>\0D\0A
01/31/03 12:16:46 ID 1732 - [EMAIL PROTECTED] 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:<[EMAIL PROTECTED]>\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:< [EMAIL PROTECTED]>\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:< [EMAIL PROTECTED]>\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: [EMAIL PROTECTED]\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: [EMAIL PROTECTED]\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: [EMAIL PROTECTED] has been sent
twice.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=21978&edit=1

Reply via email to