From e93f595d61b2df161348c06d1f6d83753b0ae90d Mon Sep 17 00:00:00 2001 From: Hartmut Holzgraefe Date: Wed, 27 Sep 2000 22:10:10 +0000 Subject: [PATCH] integrated some user annotations git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@33020 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/imap.xml | 123 +++++++++++++++++++++++++++++---------------- 1 file changed, 80 insertions(+), 43 deletions(-) diff --git a/functions/imap.xml b/functions/imap.xml index 8628d57dde..7081e96124 100644 --- a/functions/imap.xml +++ b/functions/imap.xml @@ -23,62 +23,63 @@ POP3 and local mailbox access methods. - This document can't go into detail on all the topics touched by the - provided functions. Further information is provided by the - documentation of the c-client library source - (docs/internal.txt). - and the following RFC documents: + This document can't go into detail on all the topics touched by + the provided functions. Further information is provided by the + documentation of the c-client library source + (docs/internal.txt). and the following RFC + documents: - RFC821: - Simple Mail Transfer Protocol (SMTP). + RFC821: Simple Mail + Transfer Protocol (SMTP). - RFC822: - Standard for ARPA internet text messages. + RFC822: Standard for + ARPA internet text messages. - RFC2060: - Internet Message Access Protocol (IMAP) Version 4rev1. + RFC2060: Internet + Message Access Protocol (IMAP) Version 4rev1. - RFC1939: - Post Office Protocol Version 3 (POP3). + RFC1939: Post + Office Protocol Version 3 (POP3). - RFC977: - Network News Transfer Protocol (NNTP). + RFC977: Network News + Transfer Protocol (NNTP). - RFC2076: - Common Internet Message Headers. + RFC2076: Common + Internet Message Headers. - RFC2045 , - RFC2046 , - RFC2047 , - RFC2048 & - RFC2049: - Multipurpose Internet Mail Extensions (MIME). + RFC2045 , RFC2046 , RFC2047 , RFC2048 & RFC2049: Multipurpose + Internet Mail Extensions (MIME). - - A detailed overview is also available in the book - Programming Internet Email - by David Wood. + + A detailed overview is also available in the books + Programming Internet Email + by David Wood and Managing + IMAP by Dianna Mullet & Kevin Mullet. @@ -206,6 +207,13 @@ imap_close($stream); + + + imap_body will only return a verbatim copy of the + message body. To extract single parts of a multipart MIME-encoded + message you have to use imap_fetch_structure to + analyze its structure and imap_fetch_body to + extract a copy of a single body component. @@ -702,28 +710,26 @@ imap_close ($mbox); - + - imap_header + imap_headerinfo Read the header of the message Description - - object imap_header - int imap_stream - int msg_number - int - fromlength - - int - subjectlength - - string - defaulthost - - + object imap_headerinfo + int imap_stream + int msg_number + int + fromlength + + int + subjectlength + + string + defaulthost + This function returns an object of various header elements. @@ -819,6 +825,34 @@ fetchsubject (subject line formatted to fit subjectlength + + + imap_header + Read the header of the message + + + Description + + object imap_header + int imap_stream + int msg_number + int + fromlength + + int + subjectlength + + string + defaulthost + + + + This is an alias to imap_headerinfo + and is identical to this in any way. + + + + imap_rfc822_parse_headers @@ -1006,6 +1040,9 @@ imap_close($mbox); + + See also imap_getsubscribed. +