PHP: imap_close - Manual

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

search for in the

imap_createmailbox imap_clearflag_full

Last updated: Fri, 26 Jan 2007

view this page in

# imap_close

(PHP 3, PHP 4, PHP 5)

imap_close -- Close an IMAP stream

## Описание

bool imap_close ( resource imap_stream [, int flag] )

Closes the imap stream.

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

`imap_stream`

  An IMAP stream returned by imap_open().

`flag`

  If set to `CL_EXPUNGE`, the function will silently expunge the mailbox before closing, removing all messages marked for deletion. You can achieve the same thing by using imap_expunge()

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

Возвращает `TRUE` в случае успешного завершения или `FALSE` в случае возникновения ошибки.

## Смотрите также

imap_open()

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

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