PHP.nl

imap_body

imap_body

Read the message body

 **imap_body** IMAP\Connection $imap int $message_num int $flags
returns the body of the message,

numbered in the current mailbox. imap_body``message_num

will only return a verbatim copy of the

message body. To extract single parts of a multipart MIME-encoded message you have to use to analyze its structure and to extract a copy of a single body component. imap_body``imap_fetchstructure``imap_fetchbody

message_numThe message number

flags The optional are a bit mask with one or more of the following:

  `flags`- - The  is a UID          `FT_UID``message_num`
    • Do not set the \Seen flag if not already set FT_PEEK
    • The return string is in internal format, will not canonicalize to CRLF. FT_INTERNAL

Returns the body of the specified message, as a string, return.falseforfailure.