1--TEST--
2imap_fetchmime() passing a unique ID
3--SKIPIF--
4<?php
5require_once(__DIR__.'/setup/skipif.inc');
6?>
7--FILE--
8<?php
9
10require_once(__DIR__.'/setup/imap_include.inc');
11
12$imap_mail_box = setup_test_mailbox_for_uid_tests("imapfetchmimeuid", $msg_no, $uid);
13
14$section = '2';
15var_dump(imap_fetchbody($imap_mail_box, $uid, $section, FT_UID) === imap_fetchbody($imap_mail_box, $msg_no, $section));
16
17imap_close($imap_mail_box);
18
19?>
20--CLEAN--
21<?php
22$mailbox_suffix = 'imapfetchmimeuid';
23require_once(__DIR__ . '/setup/clean.inc');
24?>
25--EXPECT--
26Create a temporary mailbox and add 10 msgs
27New mailbox created
28Delete 4 messages for Unique ID generation
29bool(true)
30