note 120797 added to function.imap-headerinfo
| From: | php at our-software dot com | Date: | Mon, 13 Mar 2017 14:57:31 +0000 |
| Subject: | note 120797 added to function.imap-headerinfo | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-208903@lists.php.net to get a copy of this message | ||
Please Note : imap_headerinfo only returns a subset of the headers, rather than the entire thing.
Among other things, this means it only shows the first recipient from the "to" section of
the email, rather than all recipients.
If you're not seeing something you expected to, you'll be better off using
$hdr_raw = imap_fetchheader($mbox, $mailid);
$hdr = imap_rfc822_parse_headers($hdr_raw);
then you'll see the full set of headers, and be able to do more with it.
----
Server IP: 87.124.126.49
Probable Submitter: 164.39.205.18
----
Manual Page -- http://php.net/manual/en/function.imap-headerinfo.php
Edit -- https://master.php.net/note/edit/120797
Del: integrated -- https://master.php.net/note/delete/120797/integrated
Del: useless -- https://master.php.net/note/delete/120797/useless
Del: bad code -- https://master.php.net/note/delete/120797/bad+code
Del: spam -- https://master.php.net/note/delete/120797/spam
Del: non-english -- https://master.php.net/note/delete/120797/non-english
Del: in docs -- https://master.php.net/note/delete/120797/in+docs
Del: other reasons-- https://master.php.net/note/delete/120797
Reject -- https://master.php.net/note/reject/120797
Search -- https://master.php.net/manage/user-notes.php