Sophie

Sophie

distrib > Mandriva > 2008.1 > i586 > by-pkgid > 703d980c580707c382b4e43e25965bc5 > files > 7267

php-manual-pt_BR-5.2.4-1mdv2008.1.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>imap_body</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="IMAP, POP3 and NNTP Functions"
HREF="ref.imap.html"><LINK
REL="PREVIOUS"
TITLE="imap_binary"
HREF="function.imap-binary.html"><LINK
REL="NEXT"
TITLE="imap_bodystruct"
HREF="function.imap-bodystruct.html"><META
HTTP-EQUIV="Content-type"
CONTENT="text/html; charset=UTF-8"></HEAD
><BODY
CLASS="refentry"
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.imap-binary.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-bodystruct.html"
ACCESSKEY="N"
>Próxima</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><H1
><A
NAME="function.imap-body"
></A
>imap_body</H1
><DIV
CLASS="refnamediv"
><A
NAME="AEN91989"
></A
><P
>    (PHP 3, PHP 4, PHP 5)</P
>imap_body&nbsp;--&nbsp;Read the message body</DIV
><DIV
CLASS="refsect1"
><A
NAME="AEN91992"
></A
><H2
>Descrição</H2
>string <B
CLASS="methodname"
>imap_body</B
> ( resource imap_stream, int msg_number [, int options] )<BR
></BR
><P
>&#13;   <B
CLASS="function"
>imap_body()</B
> returns the body of the message,
   numbered <CODE
CLASS="parameter"
>msg_number</CODE
> in the current
   mailbox.
  </P
><P
>&#13;   <B
CLASS="function"
>imap_body()</B
> will only return a verbatim copy of the
   message body. To extract single parts of a multipart MIME-encoded
   message you have to use <A
HREF="function.imap-fetchstructure.html"
><B
CLASS="function"
>imap_fetchstructure()</B
></A
> to
   analyze its structure and <A
HREF="function.imap-fetchbody.html"
><B
CLASS="function"
>imap_fetchbody()</B
></A
> to
   extract a copy of a single body component.
  </P
></DIV
><DIV
CLASS="refsect1"
><A
NAME="AEN92013"
></A
><H2
>Parâmetros</H2
><P
>&#13;   <P
></P
><DIV
CLASS="variablelist"
><DL
><DT
><CODE
CLASS="parameter"
>&#13; imap_stream</CODE
></DT
><DD
><P
>Um stream IMAP retornado por
 <A
HREF="function.imap-open.html"
><B
CLASS="function"
>imap_open()</B
></A
>.</P
></DD
><DT
><CODE
CLASS="parameter"
>msg_number</CODE
></DT
><DD
><P
>&#13;       The message number
      </P
></DD
><DT
><CODE
CLASS="parameter"
>options</CODE
></DT
><DD
><P
>&#13;       The optional <CODE
CLASS="parameter"
>options</CODE
> are a bit mask
       with one or more of the following:
       <P
></P
><UL
><LI
><P
>&#13;          <TT
CLASS="constant"
><B
>FT_UID</B
></TT
> - The <CODE
CLASS="parameter"
>msg_number</CODE
> is a UID
         </P
></LI
><LI
><P
>&#13;          <TT
CLASS="constant"
><B
>FT_PEEK</B
></TT
> - Do not set the \Seen flag if not already set
         </P
></LI
><LI
><P
>&#13;          <TT
CLASS="constant"
><B
>FT_INTERNAL</B
></TT
> - The return string is in internal format, will
          not canonicalize to CRLF.
         </P
></LI
></UL
>
      </P
></DD
></DL
></DIV
>
  </P
></DIV
><DIV
CLASS="refsect1"
><A
NAME="AEN92045"
></A
><H2
>Valores de retornado</H2
><P
>&#13;   Returns the body of the specified message, as a string.
  </P
></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.imap-binary.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-bodystruct.html"
ACCESSKEY="N"
>Próxima</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>imap_binary</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="ref.imap.html"
ACCESSKEY="U"
>Acima</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>imap_bodystruct</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>