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

search for in the

imap_last_error> <imap_headerinfo
Last updated: Fri, 14 Aug 2009

view this page in

imap_headers

(PHP 4, PHP 5)

imap_headersRetourne les en-têtes de tous les messages d'une boîte aux lettres

Description

array imap_headers ( resource $imap_stream )

Retourne les en-têtes de tous les messages d'une boîte aux lettres.

Liste de paramètres

imap_stream

Un flux IMPA retourné par la fonction imap_open().

Valeurs de retour

Retourne un tableau de chaînes contenant les en-têtes des messages : une chaîne par message.



add a note add a note User Contributed Notes
imap_headers
mmuoio at gmail dot com
12-Oct-2009 05: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, 14 Aug 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites