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