downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

imap_last_error> <imap_headerinfo
[edit] Last updated: Fri, 17 May 2013

view this page in

imap_headers

(PHP 4, PHP 5)

imap_headersDevuelve las cabeceras de todos los mensajes de un buzón

Descripción

array imap_headers ( resource $imap_stream )

Devuelve las cabeceras de todos los mensajes de un buzón.

Parámetros

imap_stream

IMAP stream devuelto por imap_open().

Valores devueltos

Devuelve un array de cadenas formateadas con la información de cabecera. Un elemento por mensaje de correo.



add a note add a note User Contributed Notes imap_headers - [1 notes]
up
0
mmuoio at gmail dot com
3 years ago
This function will not return a full subject line if it is longer than 25 characters.  I found this out after trying to search each header and move the email to a different folder depending on what the subject was (searching for year and project number).

 
show source | credits | stats | sitemap | contact | advertising | mirror sites