PHP: imap_undelete - Manual

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

search for in the

imap_unsubscribe imap_uid

Last updated: Fri, 26 Jan 2007

view this page in

# imap_undelete

(PHP 3, PHP 4, PHP 5)

imap_undelete -- Unmark the message which is marked deleted

## Описание

bool imap_undelete ( resource imap_stream, int msg_number [, int flags] )

Removes the deletion flag for a specified message, which is set by imap_delete() or imap_mail_move().

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

`imap_stream`

  An IMAP stream returned by imap_open().

`msg_number`

  The message number

`flags`

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

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

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

imap_delete()
imap_mail_move()

add a note User Contributed Notes
imap_undelete
webmaster at thibs dot menloschool dot org
04-Mar-2000 05:03
`In PHP 3.0.15, this function suffers from the same 3-arguments-only problem that imap_delete() has. I've found that adding "NIL" as the third parameter works just fine.`
add a note
imap_unsubscribe imap_uid

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