diff --git a/reference/imap/constants.xml b/reference/imap/constants.xml new file mode 100644 index 0000000000..4a0482305f --- /dev/null +++ b/reference/imap/constants.xml @@ -0,0 +1,656 @@ + + +
+ &reftitle.constants; + &extension.constants; + + + + NIL + (integer) + + + + + + + + + + OP_DEBUG + (integer) + + + + + + + + + + OP_READONLY + (integer) + + + + + + + + + + OP_ANONYMOUS + (integer) + + + + + + + + + + OP_SHORTCACHE + (integer) + + + + + + + + + + OP_SILENT + (integer) + + + + + + + + + + OP_PROTOTYPE + (integer) + + + + + + + + + + OP_HALFOPEN + (integer) + + + + + + + + + + OP_EXPUNGE + (integer) + + + + + + + + + + OP_SECURE + (integer) + + + + + + + + + + CL_EXPUNGE + (integer) + + + + + + + + + + FT_UID + (integer) + + + + + + + + + + FT_PEEK + (integer) + + + + + + + + + + FT_NOT + (integer) + + + + + + + + + + FT_INTERNAL + (integer) + + + + + + + + + + FT_PREFETCHTEXT + (integer) + + + + + + + + + + ST_UID + (integer) + + + + + + + + + + ST_SILENT + (integer) + + + + + + + + + + ST_SET + (integer) + + + + + + + + + + CP_UID + (integer) + + + + + + + + + + CP_MOVE + (integer) + + + + + + + + + + SE_UID + (integer) + + + + + + + + + + SE_FREE + (integer) + + + + + + + + + + SE_NOPREFETCH + (integer) + + + + + + + + + + SO_FREE + (integer) + + + + + + + + + + SO_NOSERVER + (integer) + + + + + + + + + + SA_MESSAGES + (integer) + + + + + + + + + + SA_RECENT + (integer) + + + + + + + + + + SA_UNSEEN + (integer) + + + + + + + + + + SA_UIDNEXT + (integer) + + + + + + + + + + SA_UIDVALIDITY + (integer) + + + + + + + + + + SA_ALL + (integer) + + + + + + + + + + LATT_NOINFERIORS + (integer) + + + + + + + + + + LATT_NOSELECT + (integer) + + + + + + + + + + LATT_MARKED + (integer) + + + + + + + + + + LATT_UNMARKED + (integer) + + + + + + + + + + SORTDATE + (integer) + + + + + + + + + + SORTARRIVAL + (integer) + + + + + + + + + + SORTFROM + (integer) + + + + + + + + + + SORTSUBJECT + (integer) + + + + + + + + + + SORTTO + (integer) + + + + + + + + + + SORTCC + (integer) + + + + + + + + + + SORTSIZE + (integer) + + + + + + + + + + TYPETEXT + (integer) + + + + + + + + + + TYPEMULTIPART + (integer) + + + + + + + + + + TYPEMESSAGE + (integer) + + + + + + + + + + TYPEAPPLICATION + (integer) + + + + + + + + + + TYPEAUDIO + (integer) + + + + + + + + + + TYPEIMAGE + (integer) + + + + + + + + + + TYPEVIDEO + (integer) + + + + + + + + + + TYPEOTHER + (integer) + + + + + + + + + + ENC7BIT + (integer) + + + + + + + + + + ENC8BIT + (integer) + + + + + + + + + + ENCBINARY + (integer) + + + + + + + + + + ENCBASE64 + (integer) + + + + + + + + + + ENCQUOTEDPRINTABLE + (integer) + + + + + + + + + + ENCOTHER + (integer) + + + + + + + + +
+ + diff --git a/reference/imap/reference.xml b/reference/imap/reference.xml index 2caf628226..0a95b34f7b 100644 --- a/reference/imap/reference.xml +++ b/reference/imap/reference.xml @@ -1,96 +1,127 @@ - + IMAP, POP3 and NNTP functions IMAP - - To get these functions to work, you have to compile PHP with - . That requires the - c-client library to be installed. Grab the latest version from - &url.imap; and compile it. - - - Then copy c-client/c-client.a to - /usr/local/lib/libc-client.a or some other - directory on your link path and copy c-client/*.h - to /usr/local/include or some other directory in - your include path. - - - - Depending how the c-client was configured, you might also need to add - - and/or into the PHP - configure line. - - - - Note that these functions are not limited to the - IMAP protocol, despite their name. The - underlying c-client library also supports NNTP, - POP3 and local mailbox access methods. - +
+ &reftitle.intro; - 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: - - - - RFC2821: Simple Mail - Transfer Protocol (SMTP). - - - - - RFC2822: Standard for - ARPA internet text messages. - - - - - RFC2060: Internet - Message Access Protocol (IMAP) Version 4rev1. - - - - - RFC1939: Post - Office Protocol Version 3 (POP3). - - - - - RFC977: Network News - Transfer Protocol (NNTP). - - - - - RFC2076: Common - Internet Message Headers. - - - - - RFC2045 , IMAP protocol, + despite their name. The underlying c-client library also supports + NNTP, POP3 and local mailbox access + methods. + +
+ +
+ &reftitle.required; + + This extension requires the c-client library to be installed. + Grab the latest version from &url.imap; + and compile it. + +
+ +
+ &reftitle.install; + + To get these functions to work, you have to compile PHP with + . + + + Then copy c-client/c-client.a to + /usr/local/lib/libc-client.a or some other + directory on your link path and copy c-client/*.h + to /usr/local/include or some other directory in + your include path. + + + + Depending how the c-client was configured, you might also need to add + + and/or into the PHP + configure line. + + +
+ +
+ &reftitle.runtime; + &no.config; +
+ +
+ &reftitle.resources; + + +
+ + &reference.imap.constants; + +
+ &reftitle.seealso; + + 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: + + + + RFC2821: Simple Mail + Transfer Protocol (SMTP). + + + + + RFC2822: Standard for + ARPA internet text messages. + + + + + RFC2060: Internet + Message Access Protocol (IMAP) Version 4rev1. + + + + + RFC1939: Post + Office Protocol Version 3 (POP3). + + + + + RFC977: Network News + Transfer Protocol (NNTP). + + + + + RFC2076: Common + Internet Message Headers. + + + + + RFC2045 , RFC2046 , RFC2047 , RFC2048 & RFC2049: Multipurpose - Internet Mail Extensions (MIME). - - - - A detailed overview is also available in the books - Programming Internet Email - by David Wood and Managing + Internet Mail Extensions (MIME). + + + + A detailed overview is also available in the books + Programming Internet Email + by David Wood and Managing IMAP by Dianna Mullet & Kevin Mullet. - + +
&reference.imap.functions;