php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #65541 imap_headerinfo() doesn`t display return_pathaddress
Submitted: 2013-08-24 16:18 UTC Modified: 2018-08-26 16:58 UTC
Votes:2
Avg. Score:3.5 ± 0.5
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: frammacher at yahoo dot de Assigned: cmb (profile)
Status: No Feedback Package: IMAP related
PHP Version: 5.4Git-2013-08-24 (Git) OS: Windows 7
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: frammacher at yahoo dot de
New email:
PHP Version: OS:

 

 [2013-08-24 16:18 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-07-13 14:12 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2018-07-13 14:12 UTC] cmb@php.net
Is there also no return_pathaddress if you look at the HTML source
code?
 [2018-08-26 16:58 UTC] cmb@php.net
-Status: Feedback +Status: No Feedback
 [2018-08-26 16:58 UTC] cmb@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 17:01:30 2024 UTC