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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: sirber at webernic dot com
New email:
PHP Version: OS:

 

 [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-2023 The PHP Group
All rights reserved.
Last updated: Tue Jan 31 16:03:41 2023 UTC