imap_last_error> <imap_headerinfo
Last updated: Fri, 24 Feb 2012

imap_headers

(PHP 4, PHP 5)

imap_headersReturns headers for all messages in a mailbox

Descrição

array imap_headers ( resource $imap_stream )

Returns headers for all messages in a mailbox.

Parâmetros

imap_stream

Um stream IMAP retornado por imap_open().

Valor Retornado

Returns an array of string formatted with header info. One element per mail message.



User Contributed Notes
imap_headers
mmuoio at gmail dot com
12-Oct-2009 07:39
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).

imap_last_error> <imap_headerinfo
Last updated: Fri, 24 Feb 2012