Funciones de IMAP
PHP Manual

imap_headerinfo

(PHP 4, PHP 5)

imap_headerinfoRead the header of the message

Descripción

object imap_headerinfo ( resource $imap_stream , int $msg_number [, int $fromlength = 0 [, int $subjectlength = 0 [, string $defaulthost = NULL ]]] )

Gets information about the given message number by reading its headers.

Parámetros

imap_stream

IMAP stream devuelto por imap_open().

msg_number

The message number

fromlength

Number of characters for the fetchfrom property. Must be greater than or equal to zero.

subjectlength

Number of characters for the fetchsubject property Must be greater than or equal to zero.

defaulthost

Valores devueltos

Returns the information in an object with following properties:

Ver también


Funciones de IMAP
PHP Manual