imap_bodystruct

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

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

Descrição

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

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

Parâmetros

imap

Uma instância de IMAP\Connection.

message_num

The message number

section

The body section to read

Valor Retornado

Returns the information in an object, ou false em caso de falha. For a detailed description of the object structure and properties see imap_fetchstructure().

Registro de Alterações

VersãoDescrição
8.1.0 O parâmetro imap agora espera uma instância de IMAP\Connection; anteriormente, um resourceimap válido era esperado.

Veja Também

To Top