1--TEST--
2imap_undelete() function : basic functionality
3--CREDITS--
4Olivier Doucet
5--SKIPIF--
6<?php
7require_once(__DIR__.'/skipif.inc');
8?>
9--FILE--
10<?php
11
12require_once(__DIR__.'/imap_include.inc');
13$stream_id = setup_test_mailbox('', 1);
14
15imap_delete($stream_id, 1);
16
17var_dump(imap_undelete($stream_id, 1));
18
19imap_close($stream_id);
20
21?>
22--CLEAN--
23<?php
24require_once('clean.inc');
25?>
26--EXPECTF--
27Create a temporary mailbox and add 1 msgs
28.. mailbox '{%s}%s' created
29bool(true)
30