|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[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
[2018-08-26 16:58 UTC] cmb@php.net
-Status: Feedback
+Status: No Feedback
[2018-08-26 16:58 UTC] cmb@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 18:00:02 2025 UTC |
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