Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 2.0.0

Bug #2476 Mail Package: Bcc Header visible
Submitted: 2004-10-07 15:22 UTC
From: bmichel at gunterra dot com Assigned:
Status: Bogus Package: Mail
PHP Version: 4.3.8 OS: Fedora Core 1
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


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 : 5 + 40 = ?

 
 [2004-10-07 15:22 UTC] bmichel at gunterra dot com
Description: ------------ Hello, Send email with Bcc header. When email arrives, Bcc recipients are visibles. regards Brice Reproduce code: --------------- $recipients = $db->fields['email']; $headers['From'] = 'Admin <admin@gunterra.com>'; $headers['To']= 'MyTest <mtest@gunterra.com>'; $headers['Bcc']= 'MyBCC <test@gunterra.com>'; $headers['Subject'] = 'New password generated'; $params['host'] = $domain_name; $params['port'] = '25'; $params['auth'] = true; $params['username'] = $admin_user_name; $params['password'] = $admin_password; $mime = new Mail_mime("\n"); $text = 'Your new password is '.$new_password; $mime->setTXTBody($text); $content = $mime->get(); // Create the mail object using the Mail::factory method $mail_object =& Mail::factory('smtp', $params); $mail_object->send($recipients, $mime->headers($headers), $content); Expected result: ---------------- header received : . . MIME-Version: 1.0 From: "Admin" <admin@gunterra.com> To: "MyTest" <mtest@gunterra.com> Subject: New password generated . . . Actual result: -------------- header received : . . MIME-Version: 1.0 From: "Admin" <admin@gunterra.com> To: "MyTest" <mtest@gunterra.com> Bcc: MyBCC <test@gunterra.com> Subject: New password generated . . .

Comments

 [2004-10-07 15:49 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2005-02-24 14:14 UTC] cassabarbosa at ig dot com dot br
How can I do this in the recipients variable ? Thanks.
 [2007-08-23 01:27 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2009-01-21 10:13 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!