/PHP-8.3/ext/imap/tests/ |
H A D | imap_clearflag_full_basic.phpt | 16 $imap_stream = setup_test_mailbox("imapclearflagfullbasic", 10); 18 $check = imap_check($imap_stream); 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")); 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")); [all …]
|
H A D | imap_append_basic.phpt | 16 $imap_stream = setup_test_mailbox("imapappendbaisc", 0); 18 $mb_details = imap_mailboxmsginfo($imap_stream); 20 var_dump(imap_append($imap_stream, $mb_details->Mailbox 28 var_dump(imap_append($imap_stream, $mb_details->Mailbox 36 $check = imap_check($imap_stream); 40 var_dump(imap_headers($imap_stream)); 42 imap_close($imap_stream);
|
H A D | imap_body_basic.phpt | 16 $imap_stream = setup_test_mailbox("imapbodybasic", 1); 18 $check = imap_check($imap_stream); 22 var_dump(imap_body($imap_stream, 1)); 25 var_dump(imap_body($imap_stream, 1, FT_UID)); 27 imap_close($imap_stream);
|
H A D | imap_mail_copy_basic.phpt | 18 $imap_stream = setup_test_mailbox('copybasic', 1); 20 $check = imap_check($imap_stream); 23 var_dump(imap_mail_copy($imap_stream, '1', 'INBOX.' . IMAP_MAILBOX_PHPT_PREFIX . 'copybasic')); 25 imap_close($imap_stream);
|
H A D | imap_mail_move_basic.phpt | 18 $imap_stream = setup_test_mailbox("movebasic", 1); 20 $check = imap_check($imap_stream); 23 var_dump(imap_mail_move($imap_stream, '1', 'INBOX.' . IMAP_MAILBOX_PHPT_PREFIX . 'movebasic')); 25 imap_close($imap_stream);
|
H A D | imap_createmailbox_basic.phpt | 15 $imap_stream = setup_test_mailbox("imapcreatemailboxbasic", 0); 22 if (imap_createmailbox($imap_stream, $newbox)) { 25 populate_mailbox($imap_stream, $newbox, 2); 27 $status = imap_status($imap_stream, $newbox, SA_ALL); 40 if (imap_deletemailbox($imap_stream, $newbox)) { 50 imap_close($imap_stream);
|
H A D | imap_bodystruct_basic.phpt | 15 $imap_stream = setup_test_mailbox("imapbodystructbasic", 1, $mailbox, "multipart"); 19 $m = imap_bodystruct($imap_stream, 1, "1"); 47 var_dump(imap_bodystruct($imap_stream, 1, "4")); 49 imap_close($imap_stream);
|
H A D | imap_fetch_overview_variation6.phpt | 36 * @param resource $imap_stream 39 function create_multipart_message($imap_stream, $mailbox) { 77 if (imap_append($imap_stream, $mailbox, $msg) === false) {
|
H A D | imap_close_variation4.phpt | 45 $imap_stream = imap_open($mailbox, IMAP_MAILBOX_USERNAME, IMAP_MAILBOX_PASSWORD); 46 $num_msg = imap_num_msg($imap_stream); 53 imap_close($imap_stream, CL_EXPUNGE);
|
/PHP-8.3/ext/imap/tests/setup/ |
H A D | clean.inc | 6 $imap_stream = imap_open(IMAP_DEFAULT_MAILBOX, IMAP_MAILBOX_USERNAME, IMAP_MAILBOX_PASSWORD); 9 $check = imap_check($imap_stream); 11 imap_delete($imap_stream, $i); 15 $mailboxes = imap_getmailboxes($imap_stream, IMAP_SERVER, '*'); 27 imap_deletemailbox($imap_stream, $value->name); 32 imap_close($imap_stream, CL_EXPUNGE);
|
H A D | imap_include.inc | 78 …$imap_stream = imap_open(IMAP_DEFAULT_MAILBOX, IMAP_MAILBOX_USERNAME, IMAP_MAILBOX_PASSWORD, flags… 80 if ($imap_stream === false) { 85 $new_mailbox = create_mailbox($imap_stream, $mailbox_suffix, $message_count, $simpleMessages); 90 if (imap_reopen($imap_stream, $new_mailbox) === false) { 94 return $imap_stream; 100 * @param resource $imap_stream 110 $mailboxes = imap_getmailboxes($imap_stream, $mailbox, '*'); 121 if (imap_createmailbox($imap_stream, $mailbox) === false) { 127 populate_mailbox($imap_stream, $mailbox, $message_count, $simpleMessages); 152 * @param resource $imap_stream [all …]
|
/PHP-8.3/ext/standard/tests/mail/ |
H A D | mail_include.inc | 24 $imap_stream = imap_open($default_mailbox, $username, $password); 26 if ($imap_stream === false) { 41 if (imap_reopen($imap_stream, $new_mailbox) === false) { 46 return $imap_stream; 52 * @param resource $imap_stream 59 $mailboxes = imap_getmailboxes($imap_stream, $mailbox, '*'); 70 if (imap_createmailbox($imap_stream, $mailbox) === false) { 76 populate_mailbox($imap_stream, $mailbox, $message_count, $msg_type); 85 * @param resource $imap_stream 88 function populate_mailbox($imap_stream, $mailbox, $message_count, $msg_type = "simple"){ [all …]
|
H A D | bug80706.phpt | 23 $imap_stream = imap_open($default_mailbox, $username, $password); 24 if ($imap_stream === false) { 34 $num_messages = imap_check($imap_stream)->Nmsgs; 36 $info = imap_headerinfo($imap_stream, $i); 38 $header = imap_fetchheader($imap_stream, $i); 41 imap_delete($imap_stream, $i); 49 imap_close($imap_stream, CL_EXPUNGE);
|
H A D | bug72964.phpt | 23 $imap_stream = imap_open($default_mailbox, $username, $password); 24 if ($imap_stream === false) { 34 $num_messages = imap_check($imap_stream)->Nmsgs; 36 $info = imap_headerinfo($imap_stream, $i); 38 imap_delete($imap_stream, $i); 46 imap_close($imap_stream, CL_EXPUNGE);
|
H A D | mail_basic_alt1-win32.phpt | 45 $imap_stream = imap_open($default_mailbox, $username, $password); 46 if ($imap_stream === false) { 58 $current_msg_count = imap_check($imap_stream)->Nmsgs; 63 $hdr = imap_headerinfo($imap_stream, $i); 68 imap_delete($imap_stream, $i); 83 imap_close($imap_stream, CL_EXPUNGE);
|
H A D | mail_basic_alt2-win32.phpt | 42 $imap_stream = imap_open($default_mailbox, $username, $password); 43 if ($imap_stream === false) { 55 $current_msg_count = imap_check($imap_stream)->Nmsgs; 60 $hdr = imap_headerinfo($imap_stream, $i); 65 imap_delete($imap_stream, $i); 80 imap_close($imap_stream, CL_EXPUNGE);
|
H A D | mail_basic_alt3-win32.phpt | 42 $imap_stream = imap_open($default_mailbox, $username, $password); 43 if ($imap_stream === false) { 55 $current_msg_count = imap_check($imap_stream)->Nmsgs; 60 $hdr = imap_headerinfo($imap_stream, $i); 65 imap_delete($imap_stream, $i); 80 imap_close($imap_stream, CL_EXPUNGE);
|
H A D | mail_basic_alt4-win32.phpt | 43 $imap_stream = imap_open($default_mailbox, $username, $password); 44 if ($imap_stream === false) { 56 $current_msg_count = imap_check($imap_stream)->Nmsgs; 61 $hdr = imap_headerinfo($imap_stream, $i); 66 imap_delete($imap_stream, $i); 81 imap_close($imap_stream, CL_EXPUNGE);
|
H A D | mail_variation_alt3-win32.phpt | 43 $imap_stream = imap_open($default_mailbox, $username, $password); 44 if ($imap_stream === false) { 56 $current_msg_count = imap_check($imap_stream)->Nmsgs; 61 $hdr = imap_headerinfo($imap_stream, $i); 66 imap_delete($imap_stream, $i); 81 imap_close($imap_stream, CL_EXPUNGE);
|
H A D | mail_variation_alt1-win32.phpt | 44 $imap_stream = imap_open($default_mailbox, $username, $password); 45 if ($imap_stream === false) { 57 $current_msg_count = imap_check($imap_stream)->Nmsgs; 62 $hdr = imap_headerinfo($imap_stream, $i); 67 imap_delete($imap_stream, $i); 82 imap_close($imap_stream, CL_EXPUNGE);
|
H A D | mail_variation_alt2-win32.phpt | 44 $imap_stream = imap_open($default_mailbox, $username, $password); 45 if ($imap_stream === false) { 57 $current_msg_count = imap_check($imap_stream)->Nmsgs; 62 $hdr = imap_headerinfo($imap_stream, $i); 67 imap_delete($imap_stream, $i); 82 imap_close($imap_stream, CL_EXPUNGE);
|
H A D | bug80751.phpt | 23 $imap_stream = imap_open($default_mailbox, $username, $password); 24 if ($imap_stream === false) { 34 $num_messages = imap_check($imap_stream)->Nmsgs; 36 $info = imap_headerinfo($imap_stream, $i); 38 $header = imap_fetchheader($imap_stream, $i); 47 imap_delete($imap_stream, $i); 55 imap_close($imap_stream, CL_EXPUNGE);
|
/PHP-8.3/ext/imap/ |
H A D | php_imap.c | 156 MAILSTREAM *imap_stream; member 172 obj->imap_stream = NULL; in imap_object_create() 189 if (obj->imap_stream) { in imap_object_destroy() 592 MAILSTREAM *imap_stream; in PHP_FUNCTION() local 692 if (imap_stream == NIL) { in PHP_FUNCTION() 700 imap_object_from_zend_object(Z_OBJ_P(return_value))->imap_stream = imap_stream; in PHP_FUNCTION() 755 imap_conn_struct->imap_stream = mail_open(imap_conn_struct->imap_stream, ZSTR_VAL(mailbox), flags); in PHP_FUNCTION() 1434 imap_stream->dtb->name in php_imap_populate_mailbox_properties_object() 1439 imap_stream->mailbox in php_imap_populate_mailbox_properties_object() 1444 imap_stream->nmsgs in php_imap_populate_mailbox_properties_object() [all …]
|