<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML ><HEAD ><TITLE >IMAP, POP3 and NNTP Functions</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK REL="HOME" TITLE="Manual do PHP" HREF="index.html"><LINK REL="UP" TITLE="Referência das Funções" HREF="funcref.html"><LINK REL="PREVIOUS" TITLE="imagick_zoom" HREF="function.imagick-zoom.html"><LINK REL="NEXT" TITLE="imap_8bit" HREF="function.imap-8bit.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=UTF-8"></HEAD ><BODY CLASS="reference" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >Manual do PHP</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.imagick-zoom.html" ACCESSKEY="P" >Anterior</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.imap-8bit.html" ACCESSKEY="N" >Próxima</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="reference" ><A NAME="ref.imap" ></A ><DIV CLASS="TITLEPAGE" ><H1 CLASS="title" >LXVII. IMAP, POP3 and NNTP Functions</H1 ><DIV CLASS="PARTINTRO" ><A NAME="AEN91355" ></A ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="imap.intro" >Introdução</A ></H1 ><P > These functions enable you to operate with the <ACRONYM CLASS="acronym" >IMAP</ACRONYM > protocol, as well as the <ACRONYM CLASS="acronym" >NNTP</ACRONYM >, <ACRONYM CLASS="acronym" >POP3</ACRONYM > and local mailbox access methods. </P ><P > Be warned however, that some of IMAP functions will not work correctly with the POP protocol. </P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="imap.requirements" >Dependências</A ></H1 ><P > This extension requires the c-client library to be installed. Grab the latest version from <A HREF="ftp://ftp.cac.washington.edu/imap/" TARGET="_top" >ftp://ftp.cac.washington.edu/imap/</A > and compile it. </P ><P > It's important that you do not copy the IMAP source files directly into the system include directory as there may be conflicts. Instead, create a new directory inside the system include directory, such as <TT CLASS="filename" >/usr/local/imap-2000b/</TT > (location and name depend on your setup and IMAP version), and inside this new directory create additional directories named <TT CLASS="filename" >lib/</TT > and <TT CLASS="filename" >include/</TT >. From the <TT CLASS="filename" >c-client</TT > directory from your IMAP source tree, copy all the <TT CLASS="filename" >*.h</TT > files into <TT CLASS="filename" >include/</TT > and all the <TT CLASS="filename" >*.c</TT > files into <TT CLASS="filename" >lib/</TT >. Additionally when you compiled IMAP, a file named <TT CLASS="filename" >c-client.a</TT > was created. Also put this in the <TT CLASS="filename" >lib/</TT > directory but rename it as <TT CLASS="filename" >libc-client.a</TT >. </P ><DIV CLASS="note" ><BLOCKQUOTE CLASS="note" ><P ><B >Nota: </B > To build the c-client library with SSL or/and Kerberos support read the docs supplied with the package. </P ></BLOCKQUOTE ></DIV ><DIV CLASS="note" ><BLOCKQUOTE CLASS="note" ><P ><B >Nota: </B > In Mandrake Linux, the IMAP library (<TT CLASS="filename" >libc-client.a</TT >) is compiled without Kerberos support. A separate version with SSL (<TT CLASS="filename" >client-PHP4.a</TT >) is installed. The library must be recompiled in order to add Kerberos support. </P ></BLOCKQUOTE ></DIV ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="imap.installation" >Instalação</A ></H1 ><P > To get these functions to work, you have to compile PHP with <CODE CLASS="option" >--with-imap[=DIR]</CODE >, where DIR is the c-client install prefix. From our example above, you would use <CODE CLASS="option" >--with-imap=/usr/local/imap-2000b</CODE >. This location depends on where you created this directory according to the description above. Windows users may include the <TT CLASS="filename" >php_imap.dll</TT > DLL in <TT CLASS="filename" >php.ini</TT >. IMAP is not supported on systems earlier that Windows 2000. This is because it uses encryption functions in order to enable SSL connections to the mail servers. </P ><DIV CLASS="note" ><BLOCKQUOTE CLASS="note" ><P ><B >Nota: </B > Depending how the c-client was configured, you might also need to add <CODE CLASS="option" >--with-imap-ssl=/path/to/openssl/</CODE > and/or <CODE CLASS="option" >--with-kerberos=/path/to/kerberos</CODE > into the PHP configure line. </P ></BLOCKQUOTE ></DIV ><DIV CLASS="warning" ><P ></P ><TABLE CLASS="warning" BORDER="1" WIDTH="100%" ><TR ><TD ALIGN="CENTER" ><B >Atenção</B ></TD ></TR ><TR ><TD ALIGN="LEFT" ><P >A extensão <A HREF="ref.imap.html" >IMAP</A > não pode ser utilizada em conjunto com as extensões <A HREF="ref.recode.html" >recode</A >, <A HREF="ref.yaz.html" >YAZ</A > ou <A HREF="ref.cyrus.html" >Cyrus</A >. Isto ocorre pelo fato de elas compartilham os mesmos símbolos internos.</P ></TD ></TR ></TABLE ></DIV ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="imap.configuration" >Configurações em execução</A ></H1 ><P >Esta extensão não define nenhum parâmetro de configuração no <TT CLASS="filename" >php.ini</TT >.</P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="imap.resources" >Tipos Resource</A ></H1 ><P > </P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="imap.constants" >Constantes pré-definidas</A ></H1 ><P > As contantes abaixo são definidas por esta extensão e somente estarão disponíveis quando a extensão foi compilada com o PHP ou carregada dinamicamente durante a execução. </P ><P ></P ><DIV CLASS="variablelist" ><DL ><DT ><TT CLASS="constant" ><B >NIL</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > </P ></DD ><DT ><TT CLASS="constant" ><B >OP_DEBUG</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > </P ></DD ><DT ><TT CLASS="constant" ><B >OP_READONLY</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > Open mailbox read-only </P ></DD ><DT ><TT CLASS="constant" ><B >OP_ANONYMOUS</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > Don't use or update a <TT CLASS="filename" >.newsrc</TT > for news (NNTP only) </P ></DD ><DT ><TT CLASS="constant" ><B >OP_SHORTCACHE</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > </P ></DD ><DT ><TT CLASS="constant" ><B >OP_SILENT</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > </P ></DD ><DT ><TT CLASS="constant" ><B >OP_PROTOTYPE</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > </P ></DD ><DT ><TT CLASS="constant" ><B >OP_HALFOPEN</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > For IMAP and NNTP names, open a connection but don't open a mailbox. </P ></DD ><DT ><TT CLASS="constant" ><B >OP_EXPUNGE</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > </P ></DD ><DT ><TT CLASS="constant" ><B >OP_SECURE</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > </P ></DD ><DT ><TT CLASS="constant" ><B >CL_EXPUNGE</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > silently expunge the mailbox before closing when calling <A HREF="function.imap-close.html" ><B CLASS="function" >imap_close()</B ></A > </P ></DD ><DT ><TT CLASS="constant" ><B >FT_UID</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > The parameter is a UID </P ></DD ><DT ><TT CLASS="constant" ><B >FT_PEEK</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > Do not set the \Seen flag if not already set </P ></DD ><DT ><TT CLASS="constant" ><B >FT_NOT</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > </P ></DD ><DT ><TT CLASS="constant" ><B >FT_INTERNAL</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > The return string is in internal format, will not canonicalize to CRLF. </P ></DD ><DT ><TT CLASS="constant" ><B >FT_PREFETCHTEXT</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > </P ></DD ><DT ><TT CLASS="constant" ><B >ST_UID</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > The sequence argument contains UIDs instead of sequence numbers </P ></DD ><DT ><TT CLASS="constant" ><B >ST_SILENT</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > </P ></DD ><DT ><TT CLASS="constant" ><B >ST_SET</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > </P ></DD ><DT ><TT CLASS="constant" ><B >CP_UID</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > the sequence numbers contain UIDS </P ></DD ><DT ><TT CLASS="constant" ><B >CP_MOVE</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > Delete the messages from the current mailbox after copying with <A HREF="function.imap-mail-copy.html" ><B CLASS="function" >imap_mail_copy()</B ></A > </P ></DD ><DT ><TT CLASS="constant" ><B >SE_UID</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > Return UIDs instead of sequence numbers </P ></DD ><DT ><TT CLASS="constant" ><B >SE_FREE</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > </P ></DD ><DT ><TT CLASS="constant" ><B >SE_NOPREFETCH</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > Don't prefetch searched messages </P ></DD ><DT ><TT CLASS="constant" ><B >SO_FREE</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > </P ></DD ><DT ><TT CLASS="constant" ><B >SO_NOSERVER</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > </P ></DD ><DT ><TT CLASS="constant" ><B >SA_MESSAGES</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > </P ></DD ><DT ><TT CLASS="constant" ><B >SA_RECENT</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > </P ></DD ><DT ><TT CLASS="constant" ><B >SA_UNSEEN</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > </P ></DD ><DT ><TT CLASS="constant" ><B >SA_UIDNEXT</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > </P ></DD ><DT ><TT CLASS="constant" ><B >SA_UIDVALIDITY</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > </P ></DD ><DT ><TT CLASS="constant" ><B >SA_ALL</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > </P ></DD ><DT ><TT CLASS="constant" ><B >LATT_NOINFERIORS</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > This mailbox has no "children" (there are no mailboxes below this one). </P ></DD ><DT ><TT CLASS="constant" ><B >LATT_NOSELECT</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > This is only a container, not a mailbox - you cannot open it. </P ></DD ><DT ><TT CLASS="constant" ><B >LATT_MARKED</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > This mailbox is marked. Only used by UW-IMAPD. </P ></DD ><DT ><TT CLASS="constant" ><B >LATT_UNMARKED</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > This mailbox is not marked. Only used by UW-IMAPD. </P ></DD ><DT ><TT CLASS="constant" ><B >SORTDATE</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > Sort criteria for <A HREF="function.imap-sort.html" ><B CLASS="function" >imap_sort()</B ></A >: message Date </P ></DD ><DT ><TT CLASS="constant" ><B >SORTARRIVAL</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > Sort criteria for <A HREF="function.imap-sort.html" ><B CLASS="function" >imap_sort()</B ></A >: arrival date </P ></DD ><DT ><TT CLASS="constant" ><B >SORTFROM</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > Sort criteria for <A HREF="function.imap-sort.html" ><B CLASS="function" >imap_sort()</B ></A >: mailbox in first From address </P ></DD ><DT ><TT CLASS="constant" ><B >SORTSUBJECT</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > Sort criteria for <A HREF="function.imap-sort.html" ><B CLASS="function" >imap_sort()</B ></A >: message subject </P ></DD ><DT ><TT CLASS="constant" ><B >SORTTO</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > Sort criteria for <A HREF="function.imap-sort.html" ><B CLASS="function" >imap_sort()</B ></A >: mailbox in first To address </P ></DD ><DT ><TT CLASS="constant" ><B >SORTCC</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > Sort criteria for <A HREF="function.imap-sort.html" ><B CLASS="function" >imap_sort()</B ></A >: mailbox in first cc address </P ></DD ><DT ><TT CLASS="constant" ><B >SORTSIZE</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > Sort criteria for <A HREF="function.imap-sort.html" ><B CLASS="function" >imap_sort()</B ></A >: size of message in octets </P ></DD ><DT ><TT CLASS="constant" ><B >TYPETEXT</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > </P ></DD ><DT ><TT CLASS="constant" ><B >TYPEMULTIPART</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > </P ></DD ><DT ><TT CLASS="constant" ><B >TYPEMESSAGE</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > </P ></DD ><DT ><TT CLASS="constant" ><B >TYPEAPPLICATION</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > </P ></DD ><DT ><TT CLASS="constant" ><B >TYPEAUDIO</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > </P ></DD ><DT ><TT CLASS="constant" ><B >TYPEIMAGE</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > </P ></DD ><DT ><TT CLASS="constant" ><B >TYPEVIDEO</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > </P ></DD ><DT ><TT CLASS="constant" ><B >TYPEOTHER</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > </P ></DD ><DT ><TT CLASS="constant" ><B >ENC7BIT</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > </P ></DD ><DT ><TT CLASS="constant" ><B >ENC8BIT</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > </P ></DD ><DT ><TT CLASS="constant" ><B >ENCBINARY</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > </P ></DD ><DT ><TT CLASS="constant" ><B >ENCBASE64</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > </P ></DD ><DT ><TT CLASS="constant" ><B >ENCQUOTEDPRINTABLE</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > </P ></DD ><DT ><TT CLASS="constant" ><B >ENCOTHER</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > </P ></DD ></DL ></DIV ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="imap.seealso" >Veja também</A ></H1 ><P > 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 (<TT CLASS="filename" >docs/internal.txt</TT >). and the following RFC documents: <P ></P ><UL ><LI ><P > <A HREF="http://www.faqs.org/rfcs/rfc2821" TARGET="_top" >RFC2821</A >: Simple Mail Transfer Protocol (SMTP). </P ></LI ><LI ><P > <A HREF="http://www.faqs.org/rfcs/rfc2822" TARGET="_top" >RFC2822</A >: Standard for ARPA internet text messages. </P ></LI ><LI ><P > <A HREF="http://www.faqs.org/rfcs/rfc2060" TARGET="_top" >RFC2060</A >: Internet Message Access Protocol (IMAP) Version 4rev1. </P ></LI ><LI ><P > <A HREF="http://www.faqs.org/rfcs/rfc1939" TARGET="_top" >RFC1939</A >: Post Office Protocol Version 3 (POP3). </P ></LI ><LI ><P > <A HREF="http://www.faqs.org/rfcs/rfc977" TARGET="_top" >RFC977</A >: Network News Transfer Protocol (NNTP). </P ></LI ><LI ><P > <A HREF="http://www.faqs.org/rfcs/rfc2076" TARGET="_top" >RFC2076</A >: Common Internet Message Headers. </P ></LI ><LI ><P > <A HREF="http://www.faqs.org/rfcs/rfc2045" TARGET="_top" >RFC2045</A > , <A HREF="http://www.faqs.org/rfcs/rfc2046" TARGET="_top" >RFC2046</A > , <A HREF="http://www.faqs.org/rfcs/rfc2047" TARGET="_top" >RFC2047</A > , <A HREF="http://www.faqs.org/rfcs/rfc2048" TARGET="_top" >RFC2048</A > & <A HREF="http://www.faqs.org/rfcs/rfc2049" TARGET="_top" >RFC2049</A >: Multipurpose Internet Mail Extensions (MIME). </P ></LI ></UL > A detailed overview is also available in the books <A HREF="http://www.oreilly.com/catalog/progintemail/noframes.html" TARGET="_top" >Programming Internet Email</A > by David Wood and <A HREF="http://www.oreilly.com/catalog/mimap/noframes.html" TARGET="_top" >Managing IMAP</A > by Dianna Mullet & Kevin Mullet. </P ></DIV ></DIV ><DIV CLASS="TOC" ><DL ><DT ><B >Índice</B ></DT ><DT ><A HREF="function.imap-8bit.html" >imap_8bit</A > -- Convert an 8bit string to a quoted-printable string</DT ><DT ><A HREF="function.imap-alerts.html" >imap_alerts</A > -- Returns all IMAP alert messages that have occurred</DT ><DT ><A HREF="function.imap-append.html" >imap_append</A > -- Append a string message to a specified mailbox</DT ><DT ><A HREF="function.imap-base64.html" >imap_base64</A > -- Decode BASE64 encoded text</DT ><DT ><A HREF="function.imap-binary.html" >imap_binary</A > -- Convert an 8bit string to a base64 string</DT ><DT ><A HREF="function.imap-body.html" >imap_body</A > -- Read the message body</DT ><DT ><A HREF="function.imap-bodystruct.html" >imap_bodystruct</A > -- Read the structure of a specified body section of a specific message</DT ><DT ><A HREF="function.imap-check.html" >imap_check</A > -- Check current mailbox</DT ><DT ><A HREF="function.imap-clearflag-full.html" >imap_clearflag_full</A > -- Clears flags on messages</DT ><DT ><A HREF="function.imap-close.html" >imap_close</A > -- Close an IMAP stream</DT ><DT ><A HREF="function.imap-createmailbox.html" >imap_createmailbox</A > -- Create a new mailbox</DT ><DT ><A HREF="function.imap-delete.html" >imap_delete</A > -- Mark a message for deletion from current mailbox</DT ><DT ><A HREF="function.imap-deletemailbox.html" >imap_deletemailbox</A > -- Delete a mailbox</DT ><DT ><A HREF="function.imap-errors.html" >imap_errors</A > -- Returns all of the IMAP errors that have occured</DT ><DT ><A HREF="function.imap-expunge.html" >imap_expunge</A > -- Delete all messages marked for deletion</DT ><DT ><A HREF="function.imap-fetch-overview.html" >imap_fetch_overview</A > -- Read an overview of the information in the headers of the given message</DT ><DT ><A HREF="function.imap-fetchbody.html" >imap_fetchbody</A > -- Fetch a particular section of the body of the message</DT ><DT ><A HREF="function.imap-fetchheader.html" >imap_fetchheader</A > -- Returns header for a message</DT ><DT ><A HREF="function.imap-fetchstructure.html" >imap_fetchstructure</A > -- Read the structure of a particular message</DT ><DT ><A HREF="function.imap-get-quota.html" >imap_get_quota</A > -- Retrieve the quota level settings, and usage statics per mailbox</DT ><DT ><A HREF="function.imap-get-quotaroot.html" >imap_get_quotaroot</A > -- Retrieve the quota settings per user</DT ><DT ><A HREF="function.imap-getacl.html" >imap_getacl</A > -- Gets the ACL for a given mailbox</DT ><DT ><A HREF="function.imap-getmailboxes.html" >imap_getmailboxes</A > -- Read the list of mailboxes, returning detailed information on each one</DT ><DT ><A HREF="function.imap-getsubscribed.html" >imap_getsubscribed</A > -- List all the subscribed mailboxes</DT ><DT ><A HREF="function.imap-header.html" >imap_header</A > -- Sinônimo de <A HREF="function.imap-headerinfo.html" ><B CLASS="function" >imap_headerinfo()</B ></A ></DT ><DT ><A HREF="function.imap-headerinfo.html" >imap_headerinfo</A > -- Read the header of the message</DT ><DT ><A HREF="function.imap-headers.html" >imap_headers</A > -- Returns headers for all messages in a mailbox</DT ><DT ><A HREF="function.imap-last-error.html" >imap_last_error</A > -- Gets the last IMAP error that occurred during this page request</DT ><DT ><A HREF="function.imap-list.html" >imap_list</A > -- Read the list of mailboxes</DT ><DT ><A HREF="function.imap-listmailbox.html" >imap_listmailbox</A > -- Sinônimo de <A HREF="function.imap-list.html" ><B CLASS="function" >imap_list()</B ></A ></DT ><DT ><A HREF="function.imap-listscan.html" >imap_listscan</A > -- Returns the list of mailboxes that matches the given text</DT ><DT ><A HREF="function.imap-listsubscribed.html" >imap_listsubscribed</A > -- Sinônimo de <A HREF="function.imap-lsub.html" ><B CLASS="function" >imap_lsub()</B ></A ></DT ><DT ><A HREF="function.imap-lsub.html" >imap_lsub</A > -- List all the subscribed mailboxes</DT ><DT ><A HREF="function.imap-mail-compose.html" >imap_mail_compose</A > -- Create a MIME message based on given envelope and body sections</DT ><DT ><A HREF="function.imap-mail-copy.html" >imap_mail_copy</A > -- Copy specified messages to a mailbox</DT ><DT ><A HREF="function.imap-mail-move.html" >imap_mail_move</A > -- Move specified messages to a mailbox</DT ><DT ><A HREF="function.imap-mail.html" >imap_mail</A > -- Send an email message</DT ><DT ><A HREF="function.imap-mailboxmsginfo.html" >imap_mailboxmsginfo</A > -- Get information about the current mailbox</DT ><DT ><A HREF="function.imap-mime-header-decode.html" >imap_mime_header_decode</A > -- Decode MIME header elements</DT ><DT ><A HREF="function.imap-msgno.html" >imap_msgno</A > -- Gets the message sequence number for the given UID</DT ><DT ><A HREF="function.imap-num-msg.html" >imap_num_msg</A > -- Gets the number of messages in the current mailbox</DT ><DT ><A HREF="function.imap-num-recent.html" >imap_num_recent</A > -- Gets the number of recent messages in current mailbox</DT ><DT ><A HREF="function.imap-open.html" >imap_open</A > -- Open an IMAP stream to a mailbox</DT ><DT ><A HREF="function.imap-ping.html" >imap_ping</A > -- Check if the IMAP stream is still active</DT ><DT ><A HREF="function.imap-qprint.html" >imap_qprint</A > -- Convert a quoted-printable string to an 8 bit string</DT ><DT ><A HREF="function.imap-renamemailbox.html" >imap_renamemailbox</A > -- Rename an old mailbox to new mailbox</DT ><DT ><A HREF="function.imap-reopen.html" >imap_reopen</A > -- Reopen IMAP stream to new mailbox</DT ><DT ><A HREF="function.imap-rfc822-parse-adrlist.html" >imap_rfc822_parse_adrlist</A > -- Parses an address string</DT ><DT ><A HREF="function.imap-rfc822-parse-headers.html" >imap_rfc822_parse_headers</A > -- Parse mail headers from a string</DT ><DT ><A HREF="function.imap-rfc822-write-address.html" >imap_rfc822_write_address</A > -- Returns a properly formatted email address given the mailbox, host, and personal info</DT ><DT ><A HREF="function.imap-savebody.html" >imap_savebody</A > -- Save a specific body section to a file</DT ><DT ><A HREF="function.imap-scanmailbox.html" >imap_scanmailbox</A > -- Sinônimo de <A HREF="function.imap-listscan.html" ><B CLASS="function" >imap_listscan()</B ></A ></DT ><DT ><A HREF="function.imap-search.html" >imap_search</A > -- This function returns an array of messages matching the given search criteria</DT ><DT ><A HREF="function.imap-set-quota.html" >imap_set_quota</A > -- Sets a quota for a given mailbox</DT ><DT ><A HREF="function.imap-setacl.html" >imap_setacl</A > -- Sets the ACL for a giving mailbox</DT ><DT ><A HREF="function.imap-setflag-full.html" >imap_setflag_full</A > -- Sets flags on messages</DT ><DT ><A HREF="function.imap-sort.html" >imap_sort</A > -- Gets and sort messages</DT ><DT ><A HREF="function.imap-status.html" >imap_status</A > -- Returns status information on a mailbox</DT ><DT ><A HREF="function.imap-subscribe.html" >imap_subscribe</A > -- Subscribe to a mailbox</DT ><DT ><A HREF="function.imap-thread.html" >imap_thread</A > -- Returns a tree of threaded message</DT ><DT ><A HREF="function.imap-timeout.html" >imap_timeout</A > -- Set or fetch imap timeout</DT ><DT ><A HREF="function.imap-uid.html" >imap_uid</A > -- This function returns the UID for the given message sequence number</DT ><DT ><A HREF="function.imap-undelete.html" >imap_undelete</A > -- Unmark the message which is marked deleted</DT ><DT ><A HREF="function.imap-unsubscribe.html" >imap_unsubscribe</A > -- Unsubscribe from a mailbox</DT ><DT ><A HREF="function.imap-utf7-decode.html" >imap_utf7_decode</A > -- Decodes a modified UTF-7 encoded string</DT ><DT ><A HREF="function.imap-utf7-encode.html" >imap_utf7_encode</A > -- Converts ISO-8859-1 string to modified UTF-7 text</DT ><DT ><A HREF="function.imap-utf8.html" >imap_utf8</A > -- Converts MIME-encoded text to UTF-8</DT ></DL ></DIV ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.imagick-zoom.html" ACCESSKEY="P" >Anterior</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Principal</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.imap-8bit.html" ACCESSKEY="N" >Próxima</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >imagick_zoom</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="funcref.html" ACCESSKEY="U" >Acima</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >imap_8bit</TD ></TR ></TABLE ></DIV ></BODY ></HTML >