Lines Matching refs:imap_stream
14 $imap_stream = setup_test_mailbox("imapclearflagfullbasic", 10);
16 $check = imap_check($imap_stream);
20 var_dump(imap_setflag_full($imap_stream, "1,3", "\\Seen \\Answered"));
21 var_dump(imap_setflag_full($imap_stream, "2,4", "\\Answered"));
22 var_dump(imap_setflag_full($imap_stream, "5,7", "\\Flagged \\Deleted"));
23 var_dump(imap_setflag_full($imap_stream, "6,8", "\\Deleted"));
24 var_dump(imap_setflag_full($imap_stream, "9,10", "\\Draft \\Flagged"));
26 var_dump(imap_search($imap_stream, "SEEN"));
27 var_dump(imap_search($imap_stream, "ANSWERED"));
28 var_dump(imap_search($imap_stream, "FLAGGED"));
29 var_dump(imap_search($imap_stream, "DELETED"));
31 var_dump(imap_clearflag_full($imap_stream, "1,4", "\\Answered"));
32 var_dump(imap_clearflag_full($imap_stream, "5,6,7,8", "\\Deleted"));
33 var_dump(imap_clearflag_full($imap_stream, "9", "\\Flagged"));
35 var_dump(imap_search($imap_stream, "SEEN"));
36 var_dump(imap_search($imap_stream, "ANSWERED"));
37 var_dump(imap_search($imap_stream, "FLAGGED"));
38 var_dump(imap_search($imap_stream, "DELETED"));
40 imap_close($imap_stream);