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
[edit] Last updated: Fri, 10 Feb 2012

view this page in

imap_headers

(PHP 4, PHP 5)

imap_headersメールボックス内のすべてのメッセージのヘッダを返す

説明

array imap_headers ( resource $imap_stream )

メールボックス内のすべてのメッセージのヘッダを返します。

パラメータ

imap_stream

imap_open() が返す IMAP ストリーム。

返り値

ヘッダ情報でフォーマットされた文字列の配列を返します。1 つの メールメッセージ毎に 1 つの要素が格納されます。



add a note add a note User Contributed Notes imap_headers
mmuoio at gmail dot com 12-Oct-2009 10: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).

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