Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
PHP: imap_body - Manual
[go: Go Back, main page]

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

search for in the

imap_bodystruct" width="11" height="7"/> <imap_binary
Last updated: Thu, 31 May 2007

view this page in

imap_body

(PHP 4, PHP 5)

imap_body — メッセージ本文を読む

説明

string imap_body ( resource $imap_stream, int $msg_number [, int $options] )

imap_body() は、現在のメールボックスにある msg_number 番目のメッセージの本文を返します。

imap_body() は、メッセージの本文と全く同じ コピーのみを返します。マルチパート MIME エンコードされたメッセージの 一部を展開するには、その構造を解析するために imap_fetch_structure() を使用し、単一の部分要素の コピーを展開する際には、 imap_fetchbody() を使用する必要があります。

パラメータ

imap_stream

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

msg_number

メッセージ番号。

options

オプションの options はビットマスクであり、 以下の要素の組み合わせとなります。

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

返り値

指定したメッセージの本文を文字列で返します。



add a note add a note User Contributed Notes
imap_body
There are no user contributed notes for this page.

imap_bodystruct" width="11" height="7"/> <imap_binary
Last updated: Thu, 31 May 2007
 
 
show source | credits | sitemap | contact | advertising | mirror sites