imap_body(3) php man page | unix.com

Man Page: imap_body

Operating Environment: php

Section: 3

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
smfi_replacebody(3n) - hpux
imap_append(3) - php
imap_fetchmime(3) - php
imap_get_quotaroot(3) - php
imap_headerinfo(3) - php
Similar Topics in the Unix Linux Community
UNIX.COM 2017 Year End Summary
New Code Tags (Syntax Highlighting)
Please Welcome Don Cragun as Lead Moderator
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch
Denial Of Service Attack Update