ID:               23798
 Updated by:       [EMAIL PROTECTED]
 Reported By:      guidance at g dot yi dot org
-Status:           Open
+Status:           Closed
 Bug Type:         Mail related
 Operating System: Windows 2000 pro
 PHP Version:      4.3.2RC4
 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.




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

[2003-07-06 23:40:51] webmaster at e-xoops dot com

Just spent 2 days on same problem under php 4.3.1 trying to send bcc &
cc headers (i know they worked before).

This works:
Bcc:[EMAIL PROTECTED],[EMAIL PROTECTED]

This doesn't:
Bcc: [EMAIL PROTECTED],[EMAIL PROTECTED]

All other header fields seem to work ok as usual with the space after
the :, only bcc/cc seem to be affected here.

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

[2003-06-25 13:02:54] jharrell at dlc4me dot com

I'm using a To: address in the mail() and a list of inner company
emails under the Bcc: header... but I still get the SMTP Unknown user
error... this error was not here in 4.2.3... but I can confirm that
4.3.2 does have problems with the Bcc and Cc headers... For now I guess
I will send individual emails out. :(

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

[2003-05-25 07:11:25] guidance at g dot yi dot org

Some mail servers don't accept blank To, so this problem can't appear.
I'm just using Phorum and Mercury/32 mail server, then found this
problem.
X-Envelope-To header also depends on the mail server. May not be
created at all or other similar header.

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

[2003-05-25 05:42:25] guidance at g dot yi dot org

When using blank "To", and only Cc or Bcc to send an email, like
below:

mail("", "the subject", 'message body',
     "From: [EMAIL PROTECTED]"
    ."Reply-To: [EMAIL PROTECTED]"
    ."BCC: [EMAIL PROTECTED]"
    ."X-Mailer: PHP/" . phpversion());

the receiver mail server will complain user unknown error, if check the
raw received mail, will like this:

......
X-Envelope-To: < [EMAIL PROTECTED]>
......
To:
......

Notice there's an extra space in X-Envelope-To header!
Anyhow, if "To" is not blank, the received X-Envelope-To is correct.
If don't leave space after the colon of Bcc and Cc, the problem could
temporarily resolved.

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


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

Reply via email to