Searched refs:new_mailbox (Results 1 - 3 of 3) sorted by relevance

/PHP_5_3/ext/standard/tests/mail/
H A Dmail_include.inc20 function setup_test_mailbox($mailbox_suffix, $message_count, &$new_mailbox = null, $msg_type = "simple"){
32 $new_mailbox = create_mailbox($imap_stream, $mailbox_suffix, $message_count, $msg_type);
33 if ($new_mailbox === false) {
38 echo ".. mailbox '$new_mailbox' created\n";
41 if (imap_reopen($imap_stream, $new_mailbox) === false) {
42 echo "cant re-open '$new_mailbox' mailbox: " . imap_last_error() . "\n";
/PHP_5_3/ext/imap/tests/
H A Dimap_include.inc66 function setup_test_mailbox($mailbox_suffix, $message_count, &$new_mailbox = null, $msg_type = "simple"){
78 $new_mailbox = create_mailbox($imap_stream, $mailbox_suffix, $message_count, $msg_type);
79 if ($new_mailbox === false) {
84 echo ".. mailbox '$new_mailbox' created\n";
87 if (imap_reopen($imap_stream, $new_mailbox) === false) {
88 echo "cant re-open '$new_mailbox' mailbox: " . imap_last_error() . "\n";
/PHP_5_3/ext/imap/
H A Dphp_imap.c1805 char *old_mailbox, *new_mailbox; local
1809 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rss", &streamind, &old_mailbox, &old_mailbox_len, &new_mailbox, &new_mailbox_len) == FAILURE) {
1815 if (mail_rename(imap_le_struct->imap_stream, old_mailbox, new_mailbox) == T) {

Completed in 12 milliseconds