php8.5
Home/ Manual/ imap / functions/ imap_bodystruct

imap_bodystruct

PHP function Edit on GitHub ✎

(PHP 4, PHP 5, PHP 7, PHP 8)

Read the structure of a specified body section of a specific message

Description

imap_bodystruct(IMAP\Connection $imap, int $message_num, string $section): stdClass|false

Read the structure of a specified body section of a specific message.

Parameters

message_num

The message number

section

The body section to read

Return Values

Returns the information in an object, Falseforfailure. For a detailed description of the object structure and properties see imap_fetchstructure().

Changelog

VersionDescription

See Also

Source: reference/imap/functions/imap-bodystruct.xml · from the official PHP manual (php/doc-en)