Searched refs:imap_stream (Results 1 - 5 of 5) sorted by relevance

/PHP_TRUNK/ext/imap/tests/
H A Dclean.inc4 $imap_stream = imap_open($default_mailbox, $username, $password);
7 $check = imap_check($imap_stream);
9 imap_delete($imap_stream, $i);
12 $mailboxes = imap_getmailboxes($imap_stream, $server, '*');
19 imap_deletemailbox($imap_stream, $value->name);
24 imap_close($imap_stream, CL_EXPUNGE);
H A Dimap_include.inc70 $imap_stream = imap_open($default_mailbox, $username, $password);
72 if ($imap_stream === false) {
78 $new_mailbox = create_mailbox($imap_stream, $mailbox_suffix, $message_count, $msg_type);
87 if (imap_reopen($imap_stream, $new_mailbox) === false) {
92 return $imap_stream;
98 * @param resource $imap_stream
101 function create_mailbox($imap_stream, $mailbox_suffix, $message_count, $msg_type= "simple"){
105 $mailboxes = imap_getmailboxes($imap_stream, $mailbox, '*');
116 if (imap_createmailbox($imap_stream, $mailbox) === false) {
122 populate_mailbox($imap_stream,
[all...]
/PHP_TRUNK/ext/standard/tests/mail/
H A Dmail_include.inc24 $imap_stream = imap_open($default_mailbox, $username, $password);
26 if ($imap_stream === false) {
32 $new_mailbox = create_mailbox($imap_stream, $mailbox_suffix, $message_count, $msg_type);
41 if (imap_reopen($imap_stream, $new_mailbox) === false) {
46 return $imap_stream;
52 * @param resource $imap_stream
55 function create_mailbox($imap_stream, $mailbox_suffix, $message_count, $msg_type= "simple"){
59 $mailboxes = imap_getmailboxes($imap_stream, $mailbox, '*');
70 if (imap_createmailbox($imap_stream, $mailbox) === false) {
76 populate_mailbox($imap_stream,
[all...]
/PHP_TRUNK/ext/imap/
H A Dphp_imap.h76 MAILSTREAM *imap_stream; member in struct:php_imap_le_struct
H A Dphp_imap.c594 if ((msgindex < 1) || ((unsigned) msgindex > imap_le_struct->imap_stream->nmsgs)) { \
607 mail_close_full(imap_le_struct->imap_stream, imap_le_struct->flags);
1148 MAILSTREAM *imap_stream; local
1236 imap_stream = mail_open(NIL, mailbox, flags);
1238 if (imap_stream == NIL) {
1246 imap_le_struct->imap_stream = imap_stream;
1297 imap_le_struct->imap_stream = mail_open(imap_le_struct->imap_stream, mailbox, flags);
1298 if (imap_le_struct->imap_stream
[all...]

Completed in 7 milliseconds