array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'it', ), 'this' => array ( 0 => 'function.imap-bodystruct.php', 1 => 'imap_bodystruct', 2 => 'Read the structure of a specified body section of a specific message', ), 'up' => array ( 0 => 'ref.imap.php', 1 => 'IMAP Funzioni', ), 'prev' => array ( 0 => 'function.imap-body.php', 1 => 'imap_body', ), 'next' => array ( 0 => 'function.imap-check.php', 1 => 'imap_check', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/imap/functions/imap-bodystruct.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

imap_bodystruct

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

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

Descrizione

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

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

Elenco dei parametri

imap

An IMAP\Connection instance.

message_num

The message number

section

The body section to read

Valori restituiti

Returns the information in an object, o false in caso di fallimento. For a detailed description of the object structure and properties see imap_fetchstructure().

Log delle modifiche

Versione Descrizione
8.1.0 The imap parameter expects an IMAP\Connection instance now; previously, a valid imap resource was expected.

Vedere anche: