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

search for in the

imap_fetchstructure> <imap_fetchheader
[edit] Last updated: Fri, 17 May 2013

view this page in

imap_fetchmime

(PHP 5 >= 5.3.6)

imap_fetchmimeメッセージの特定のセクションに対する MIME ヘッダを取り出します

説明

string imap_fetchmime ( resource $imap_stream , int $msg_number , string $section [, int $options = 0 ] )

指定したメッセージの本文の特定のセクションの MIME ヘッダを取り出します。

パラメータ

imap_stream

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

msg_number

メッセージ番号

section

パート番号。ピリオドで区切られた整数文字列を指定します。 これは、IMAP4 の仕様に従って本文パートのリストにインデックスを付けます。

options

ビットマスク。以下の組合わせとなります。

  • FT_UID - msg_number は UID です
  • FT_PEEK - 既に設定されていない場合、\Seen フラグを設定しません
  • FT_INTERNAL - 返される文字列は内部フォーマットです。 CRLF に正規化しません。

返り値

指定したメッセージの本文の特定のセクションの MIME ヘッダを文字列として返します。

参考



add a note add a note User Contributed Notes imap_fetchmime - [0 notes]
There are no user contributed notes for this page.

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