Lines Matching refs:CL_EXPUNGE
13 * recognised as CL_EXPUNGE option
40 // check that imap_close was successful, if not call imap_close and explicitly set CL_EXPUNGE
42 imap_close($stream_id, CL_EXPUNGE);
44 // if imap_close was successful test whether CL_EXPUNGE was set by doing a message count
48 echo "CL_EXPUNGE was not set, $num_msg msgs in mailbox\n";
50 echo "CL_EXPUNGE was set\n";
52 // call imap_close with CL_EXPUNGE explicitly set in case mailbox not empty
53 imap_close($imap_stream, CL_EXPUNGE);
75 CL_EXPUNGE was not set, 3 msgs in mailbox
79 CL_EXPUNGE was set
82 imap_close(): Argument #2 ($flags) must be CL_EXPUNGE or 0
85 imap_close(): Argument #2 ($flags) must be CL_EXPUNGE or 0
88 imap_close(): Argument #2 ($flags) must be CL_EXPUNGE or 0