From:             [EMAIL PROTECTED]
Operating system: 2.4.18
PHP version:      4.2.3
PHP Bug Type:     IMAP related
Bug description:  imap_mail_compose and BCC

imap_mail_compose

I have:

php4
php4-gd
php4-imap
php4-pgsql

When using:

...
$envelope["to"]=$to; // $to = [EMAIL PROTECTED]
$envelope["cc"]=$cc; // $cc = [EMAIL PROTECTED]
$envelope["bcc"]=$cci; // $cci = [EMAIL PROTECTED]
...
$mail = imap_mail_compose($envelope,$body);
echo nl2br($mail);

It will write in the headers:

From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Subject: test
To: [EMAIL PROTECTED]
cc: [EMAIL PROTECTED]
MIME-Version: 1.0
Content-Type: MULTIPART/mixed;
BOUNDARY="-1463811328-1758122039-1043961432=:12539"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: webernic.com (PHP 4.2.3)

Why bcc is not there?
-- 
Edit bug report at http://bugs.php.net/?id=21968&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=21968&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=21968&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=21968&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=21968&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=21968&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=21968&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=21968&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=21968&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=21968&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=21968&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21968&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=21968&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=21968&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=21968&r=gnused

Reply via email to