php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21968 imap_mail_compose and BCC
Submitted: 2003-01-30 15:16 UTC Modified: 2003-01-30 15:34 UTC
From: sirber at webernic dot com Assigned:
Status: Not a bug Package: IMAP related
PHP Version: 4.2.3 OS: 2.4.18
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
25 + 15 = ?
Subscribe to this entry?

 
 [2003-01-30 15:16 UTC] sirber at webernic dot com
imap_mail_compose

I have:

php4
php4-gd
php4-imap
php4-pgsql

When using:

...
$envelope["to"]=$to; // $to = 1@webernic.com
$envelope["cc"]=$cc; // $cc = 2@webernic.com
$envelope["bcc"]=$cci; // $cci = 3@webernic.com
...
$mail = imap_mail_compose($envelope,$body);
echo nl2br($mail);

It will write in the headers:

From: berste01@webernic.com
Reply-To: berste01@webernic.com
Subject: test
To: 1@webernic.com
cc: 2@webernic.com
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?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-30 15:34 UTC] pollita@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

The idea of bcc (or, BLIND carbon copy) is that it's invisible to recipients.  If "bcc" were included in the headers, that recipient would be visible.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 21:01:27 2024 UTC