#39945 [NEW]: imap_header does not return correct bccaddress
| From: | giggss64 at hotmail dot com | Date: | Mon, 25 Dec 2006 16:58:08 +0000 |
| Subject: | #39945 [NEW]: imap_header does not return correct bccaddress | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-106866@lists.php.net to get a copy of this message | ||
From: giggss64 at hotmail dot com
Operating system: Windows XP
PHP version: 5.2.0
PHP Bug Type: IMAP related
Bug description: imap_header does not return correct bccaddress
Description:
------------
imap_headerinfo() does not return any value for bccaddress. I also tried
getting the value for bcc[] but to no avail.
The same things were done for toaddress (to[]) and ccaddress (cc[]). Both
worked, except for bcc.
I've tested this by logging in to 2 different mailboxes from 2 domains,
but I still do not get my expected results.
Reproduce code:
---------------
// gets the header of 1st message from mailbox
$header = imap_headerinfo($mbox, $i);
// note that the for this email which I sent out, I included 1 email
address each for the TO , CC as well as the BCC fields.
$toList = $header->to;
$ccList = $header->cc;
$bccList = $header->bcc;
echo (sizeof($toList)."<br>");
echo (sizeof($ccList)."<br>");
echo (sizeof($bccList)."<br>");
Expected result:
----------------
1
1
1
Actual result:
--------------
1
1
0
--
Edit bug report at http://bugs.php.net/?id=39945&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39945&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39945&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39945&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=39945&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=39945&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=39945&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=39945&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=39945&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=39945&r=support
Expected behavior: http://bugs.php.net/fix.php?id=39945&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=39945&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=39945&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=39945&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39945&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=39945&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=39945&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=39945&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=39945&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=39945&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=39945&r=mysqlcfg