note 10124 added to imap_fetchbody
| From: | rfinnie at php2 dot chek dot com | Date: | Thu, 14 Dec 2000 19:23:45 +0000 |
| Subject: | note 10124 added to imap_fetchbody | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-8735@lists.php.net to get a copy of this message | ||
With regard to message/rfc822 parts, it appears that the IMAP c-client that PHP uses does not follow
the IMAP RFC (#2060) correctly. The RFC specifies that to grab the headers for a message/rfc822
part, you would request part "2.HEADER" (assuming 2 is your part number), and the full
text of the part would be "2.TEXT". Instead, "2.0" will grab the headers, and
just "2" will get the text.
http://www.php.net/manual/function.imap-fetchbody.php