PHP: imap_bodystruct - Manual

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

search for in the

imap_check imap_body

Last updated: Fri, 26 Jan 2007

view this page in

# imap_bodystruct

(PHP 3 >= 3.0.4, PHP 4, PHP 5)

imap_bodystruct -- Read the structure of a specified body section of a specific message

## Описание

object imap_bodystruct ( resource imap_stream, int msg_number, string section )

Read the structure of a specified body section of a specific message.

## Список параметров

`imap_stream`

  An IMAP stream returned by imap_open().

`msg_number`

  The message number

`section`

  The body section to read

## Возвращаемые значения

Returns the information in an object with following properties:

- type -

- encoding -

- ifsubtype -

- subtype -

- ifdescription -

- description -

- ifid -

- id -

- lines - number of lines

- bytes - size of message, in bytes

- ifdisposition -

- disposition -

- ifdparameters -

- dparameters -

- ifparameters -

- parameters -

add a note User Contributed Notes
imap_bodystruct
php-dev(at)steffer(dot)dk
14-Sep-2002 07:43
`Since I have gotten many request of my code I desided to write an article on attachment handling so tune in on:
http://www.linuxscope.net/articles/mailAttachmentsPHP.html
:-)`
add a note
imap_check imap_body

Last updated: Fri, 26 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 09:32:46 2007 PST