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_headers
(PHP 4, PHP 5)
imap_headers — Liefert eine Zusammenfassung aller Nachrichtenköpfe eines Postfachs
Beschreibung
array imap_headers
( resource $imap_stream
)
Diese Funktion liefert ein String-Array, das je Nachricht einen String mit vorformatierten Informationen aus dem Nachrichtenheader enthält.
Rückgabewerte
Liefert ein Array aus Strings mit formatierten Headerinformationen. Das Array enthält ein Element für jede Nachricht im Postfach.
imap_headers
mmuoio at gmail dot com
12-Oct-2009 07:39
12-Oct-2009 07:39
