Bug #8545 [NEW]: Bcc doesn't work
| From: | thomas dot saettler at ifrance dot com | Date: | Wed, 23 Aug 2006 20:53:43 +0000 |
| Subject: | Bug #8545 [NEW]: Bcc doesn't work | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-8358@lists.php.net to get a copy of this message | ||
From: thomas dot saettler at ifrance dot com
Operating system: Linux Apache 2.2.3
Package version:
PHP version: 4_4 CVS-2006-08-23
Package: Documentation
Bug Type: Bug
Bug description: Bcc doesn't work
Description:
------------
In function Mail, the 'Bcc' doesn't work, the adress comes with 'To' but
is not black copy
Thank you
Test script:
---------------
<?php
include('Mail.php');
$destinataires = array('To' => 'jules@example.com,franck@example.com',
'Bcc' => 'jeanne@example.com');
$entete['From'] = 'richard@example.com';
$entete['To'] = 'jean@example.com';
$entete['Subject'] = 'Message de test';
$contenu = 'Message de test';
$parametres['sendmail_path'] = '/usr/lib/sendmail';
// Cr�ation de l'objet mail avec la methode Mail::factory
$mail_object =& Mail::factory('sendmail', $parametres);
$mail_object->send($destinataires, $entete, $contenu);
?>
Expected result:
----------------
jeanne comes with jules and franck in To field !!!
--
Edit bug report at http://pear.php.net/bugs/bug.php?id=8545&edit=1
--