imap_rfc822_parse_adrlist
imap_rfc822_write_address
IMAP Functions
PHP Manual

# imap_rfc822_parse_headers

(PHP 4, PHP 5)

imap_rfc822_parse_headers — Parse mail headers from a string

### Descripción

object imap_rfc822_parse_headers ( string `$headers` [, string `$defaulthost`= "UNKNOWN" ] )

Gets an object of various header elements, similar to imap_header().

### Lista de parámetros

`headers`

  The parsed headers data

`defaulthost`

  The default host name

### Valores retornados

Returns an object similar to the one returned by imap_header(), except for the flags and other properties that come from the IMAP server.

### Ver también

- imap_rfc822_parse_adrlist() - Examina la cadena dirección

imap_rfc822_parse_adrlist
imap_rfc822_write_address
IMAP Functions
PHP Manual