php man page for imap_body

Query: imap_body

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

IMAP_BODY(3)								 1							      IMAP_BODY(3)

imap_body - Read the message body

SYNOPSIS
string imap_body (resource $imap_stream, int $msg_number, [int $options])
DESCRIPTION
imap_body(3) returns the body of the message, numbered $msg_number in the current mailbox. imap_body(3) 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_fetchstructure(3) to analyze its structure and imap_fetchbody(3) to extract a copy of a single body component.
PARAMETERS
o $ imap_stream -An IMAP stream returned by imap_open(3). o $msg_number - The message number o $options - The optional $options are a bit mask with one or more of the following: o FT_UID - The $msg_number is a UID o FT_PEEK - Do not set the Seen flag if not already set o FT_INTERNAL - The return string is in internal format, will not canonicalize to CRLF.
RETURN VALUES
Returns the body of the specified message, as a string. PHP Documentation Group IMAP_BODY(3)
Related Man Pages
imap_setflag_full(3) - php
imap_check(3) - php
imap_delete(3) - php
imap_headerinfo(3) - php
imap_set_quota(3) - php
Similar Topics in the Unix Linux Community
Forum Video Tutorial: How to Use Code Tags
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1)
Status of UNIX.COM Forum Transformation
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun