imap_fetchstructure
imap_fetchstructure
Read the structure of a particular message
**imap_fetchstructure** IMAP\Connection $imap int $message_num int $flags
Fetches all the structured information for a given message.
message_numThe message number
flags
This optional parameter only has a single option,
, which tells the function to treat the
argument as a
.
FT_UID``message_num``UID
Returns an object with properties listed in the table below, return.falseforfailure.
imap_fetchbody``imap_bodystruct