array imap_fetchstructure(int imap_stream, int msg_number);この関数は、与えられた msg_number に関する すべての構造情報を取り出します。返り値は以下の要素を持つオブジェクト です。
type, encoding, ifsubtype, subtype, ifdescription, description, ifid,
id, lines, bytes, ifparameters
この関数はまた、parameters[] と呼ばれるオブジェクトの配列を返します。 このオブジェクトには以下のプロパティを持ちます。
attribute, value