Bug #65541 [Opn->Fbk]: imap_headerinfo() doesn`t display return_pathaddress

From: Date: Fri, 13 Jul 2018 14:12:57 +0000
Subject: Bug #65541 [Opn->Fbk]: imap_headerinfo() doesn`t display return_pathaddress
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-216302@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=65541&edit=1

 ID:                 65541
 Updated by:         cmb@php.net
 Reported by:        frammacher at yahoo dot de
 Summary:            imap_headerinfo() doesn`t display return_pathaddress
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            IMAP related
 Operating System:   Windows 7
 PHP Version:        5.4Git-2013-08-24 (Git)
-Assigned To:        
+Assigned To:        cmb
 Block user comment: N
 Private report:     N

 New Comment:

Is there also no return_pathaddress if you look at the HTML source
code?


Previous Comments:
------------------------------------------------------------------------
[2013-08-24 16:18:56] frammacher at yahoo dot de

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 this bug report at https://bugs.php.net/bug.php?id=65541&edit=1


Thread (2 messages)

« previous php.bugs (#216302) next »