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