From 2f4b0127cf5c5a489136de35a7f0413be24c1df5 Mon Sep 17 00:00:00 2001 From: Hartmut Holzgraefe Date: Tue, 14 Dec 1999 17:21:27 +0000 Subject: [PATCH] integrated some of the user notes into the docs (especially my own and the smaller ones) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@17196 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/imap.xml | 62 ++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 55 insertions(+), 7 deletions(-) diff --git a/functions/imap.xml b/functions/imap.xml index efc68fedd1..9b20788ee5 100644 --- a/functions/imap.xml +++ b/functions/imap.xml @@ -162,9 +162,13 @@ imap_createmailbox creates a new mailbox - specified by mbox. + specified by mbox + (see imap_open for the format + of mbox names). Returns true on success and false on error. + + See also imap_renamemailbox and imap_deletemailbox. @@ -206,9 +210,12 @@ imap_deletemailbox deletes the specified - mailbox. + mailbox (see imap_open for the format + of mbox names). Returns true on success and false on error. + + See also imap_createmailbox and imap_reanmemailbox. @@ -263,7 +270,7 @@ FT_PEEK - Do not set the \Seen flag if not already set - FT_UID - The return string is in "internal" format, without + FT_INTERNAL - The return string is in "internal" format, without any attempt to canonicalize CRLF @@ -396,6 +403,41 @@ + + + + Primary body type + + + 0text + 1multipart + 2message + 3application + 4audio + 5image + 6video + 7other + + +
+
+ + + + Transfer encodings + + + 07BIT + 18BIT + 2BINARY + 3BASE64 + 4QUOTED-PRINTABLE + 5OTHER + + +
+
+ @@ -697,7 +739,7 @@ fetchsubject (subject line formatted to fit subjectlength Description int imap_num_msg - int stream_id + int imap_stream Return the number of messages in the current mailbox. @@ -820,9 +862,12 @@ $nntp = imap_open("{localhost/nntp:119}comp.test","",""); string new_mbox - This function renames on old mailbox to new mailbox. + This function renames on old mailbox to new mailbox (see imap_open for the format + of mbox names). Returns true on success and false on error. + + See also imap_createmailbox and imap_deletemailbox. @@ -1004,7 +1049,7 @@ $nntp = imap_open("{localhost/nntp:119}comp.test","",""); Description - array imap_mailboxmsginfo + object imap_mailboxmsginfo int imap_stream @@ -1062,7 +1107,7 @@ $nntp = imap_open("{localhost/nntp:119}comp.test","",""); string default_host - This function parses the address tring and for each address, + This function parses the address string and for each address, returns an array of objects. The 4 objects are: @@ -1093,6 +1138,7 @@ $nntp = imap_open("{localhost/nntp:119}comp.test","",""); This function causes a store to add the specified flag to the flags set for the messages in the specified sequence. + The flags which you can set are "\\Seen", "\\Answered", "\\Flagged", "\\Deleted", "\\Draft", and "\\Recent" ( as defined by RFC2060) The options are a bit mask with one or more of the following: @@ -1349,6 +1395,7 @@ $nntp = imap_open("{localhost/nntp:119}comp.test","",""); untouched; calling imap_last_error subsequently, with no intervening errors, will return the same error. + CAUTION: this function is not yet available in PHP4 @@ -1370,6 +1417,7 @@ $nntp = imap_open("{localhost/nntp:119}comp.test","",""); or the beginning of the page. When imap_errors is called, the error stack is subsequently cleared. + CAUTION: this function is not yet available in PHP4