Bug #65541 [NEW]: imap_headerinfo() doesn`t display return_pathaddress

From: Date: Sat, 24 Aug 2013 16:18:56 +0000
Subject: Bug #65541 [NEW]: imap_headerinfo() doesn`t display return_pathaddress
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-181157@lists.php.net to get a copy of this message
From:             frammacher at yahoo dot de
Operating system: Windows 7
PHP version:      5.4Git-2013-08-24 (Git)
Package:          IMAP related
Bug Type:         Bug
Bug description:imap_headerinfo() doesn`t display return_pathaddress

Description:
------------
test System: 
Windows 7 XAMPP 1.8.1 php Version 5.4.7.
Linux Php Version 5.3.24

Using imap_headerinfo() returns data without return_pathaddress. On the
mail 
Server the Mail Header are complete and on my local Server i'm using
Thunderbird 
and there are also existing return_pathadress.

Test script:
---------------
$account["webmail"] = array("info@xxx.com","xxx"); 
$imap["webmail"] = "{mail.xxx.com:143/imap/novalidate-cert}INBOX"; 
... 
$ident = "webmail"; 
$get = imap_open($imap[$ident], $account[$ident][0], $account[$ident][1]);

$array_mail_actual_UID = imap_sort($get,SORTARRIVAL,0,SE_UID); 
$UID_number = ""; 
foreach($array_mail_actual_UID AS $number_of_mail){ 
  $UID_number = $number_of_mail; 
  $number_of_mail = imap_msgno($get,$number_of_mail); 
  $header[] = imap_headerinfo($get, $number_of_mail);  
} 
imap_close($get);  
echo "<br><pre>"; 
print_r($header); 
echo "</pre><br>";

Expected result:
----------------
the print_r of return_pathaddress

Actual result:
--------------
print_r() returns data, bud incomplete without return_pathaddress

-- 
Edit bug report at https://bugs.php.net/bug.php?id=65541&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=65541&r=trysnapshot54
Try a snapshot (PHP 5.3):   https://bugs.php.net/fix.php?id=65541&r=trysnapshot53
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=65541&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=65541&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=65541&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=65541&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=65541&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=65541&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=65541&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=65541&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=65541&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=65541&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=65541&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=65541&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=65541&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=65541&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=65541&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=65541&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=65541&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=65541&r=mysqlcfg



Thread (2 messages)

« previous php.bugs (#181157) next »