Home
last modified time | relevance | path

Searched refs:mailbox (Results 1 – 25 of 70) sorted by relevance

123

/PHP-8.2/ext/standard/tests/mail/
H A Dmail_include.inc13 * Create a test mailbox and populate with msgs
23 // open a stream to default mailbox
40 // reopen stream to new mailbox
53 * @param string $mailbox
79 return $mailbox;
83 * Populate a mailbox with generic emails
86 * @param string $mailbox
135 * Get the mailbox name from a mailbox description, i.e strip off server details.
137 * @param string mailbox complete mailbox name
138 * @return mailbox name
[all …]
H A Dmail_skipif.inc14 $mailbox = '{127.0.0.1:143}';
20 $mbox = @imap_open($mailbox, $username, $password, $options, $retries);
22 die("skip could not connect to mailbox $mailbox");
/PHP-8.2/ext/imap/tests/setup/
H A Dimap_include.inc77 // open a stream to default mailbox
87 echo "New mailbox created\n";
89 // reopen stream to new mailbox
112 // check mailbox does not already exist
115 if ($value->name == $mailbox) {
130 return $mailbox;
150 * Populate a mailbox with generic emails
153 * @param string $mailbox
201 * Get the mailbox name from a mailbox description, i.e strip off server details.
203 * @param string mailbox complete mailbox name
[all …]
/PHP-8.2/ext/imap/tests/
H A Dbug46918.phpt24 'mailbox' => 'iane',
30 'mailbox' => 'shuf6',
35 'mailbox' => 'blobby',
40 'mailbox' => 'ian',
46 'mailbox' => 'foo',
52 'mailbox' => 'foo',
57 'mailbox' => 'ian',
62 'mailbox' => 'ian',
67 'mailbox' => 'UNEXPECTED_DATA_AFTER_ADDRESS',
H A Dimap_open_with_cl_expunge.phpt15 // set up temp mailbox with 3 messages
16 $stream_id = setup_test_mailbox('imapopenwithclexpunge', 3, $mailbox, flags: CL_EXPUNGE);
27 $stream_id = imap_open($mailbox, IMAP_MAILBOX_USERNAME, IMAP_MAILBOX_PASSWORD);
28 echo "There are now " . imap_num_msg($stream_id) . " msgs in mailbox '$mailbox'\n";
39 Create a temporary mailbox and add 3 msgs
40 New mailbox created
44 There are now 0 msgs in mailbox '%sINBOX.phpttestimapopenwithclexpunge'
H A Dimap_reopen_with_cl_expunge.phpt17 // set up temp mailbox with 3 messages
18 $stream_id = setup_test_mailbox($mailbox_suffix , 3, $mailbox);
31 $stream_id = imap_open($mailbox, IMAP_MAILBOX_USERNAME, IMAP_MAILBOX_PASSWORD);
32 echo "There are now " . imap_num_msg($stream_id) . " msgs in mailbox '$mailbox'\n";
43 Create a temporary mailbox and add 3 msgs
44 New mailbox created
49 There are now 0 msgs in mailbox '%sINBOX.phpttestimapreopenwithclexpunge'
H A Dimap_mail_copy_basic.phpt17 echo "Create a new mailbox for test\n";
21 echo "Msg Count in new mailbox: ". $check->Nmsgs . "\n";
34 Create a new mailbox for test
35 Create a temporary mailbox and add 1 msgs
36 New mailbox created
37 Msg Count in new mailbox: 1
H A Dimap_mail_move_basic.phpt17 echo "Create a new mailbox for test\n";
21 echo "Msg Count in new mailbox: ". $check->Nmsgs . "\n";
34 Create a new mailbox for test
35 Create a temporary mailbox and add 1 msgs
36 New mailbox created
37 Msg Count in new mailbox: 1
H A Dimap_createmailbox_basic.phpt24 echo "Add a couple of msgs to '$newname' mailbox\n";
29 echo "Your new mailbox '$newname' has the following status:\n";
37 echo "imap_status on new mailbox failed: " . imap_last_error() . "\n";
43 echo "imap_deletemailbox on new mailbox failed: " . implode("\n", imap_errors()) . "\n";
47 echo "could not create new mailbox: " . implode("\n", imap_errors()) . "\n";
60 Create a temporary mailbox and add 0 msgs
61 New mailbox created
63 Add a couple of msgs to 'phpnewbox' mailbox
64 Your new mailbox 'phpnewbox' has the following status:
H A Dimap_close_basic.phpt17 $stream_id = setup_test_mailbox('imapclosebasic', 3, $mailbox); // set up temp mailbox with 3 messa…
30 $stream_id = imap_open($mailbox, IMAP_MAILBOX_USERNAME, IMAP_MAILBOX_PASSWORD);
31 echo "There are now " . imap_num_msg($stream_id) . " msgs in mailbox '$mailbox'\n";
44 Create a temporary mailbox and add 3 msgs
45 New mailbox created
49 There are now 0 msgs in mailbox '%sINBOX.phpttestimapclosebasic'
H A Dimap_fetch_overview_variation6.phpt19 $stream_id = setup_test_mailbox('imapfetchoverviewvar6', 0, $mailbox); // setup temp mailbox
20 create_multipart_message($stream_id, $mailbox);
37 * @param string $mailbox
39 function create_multipart_message($imap_stream, $mailbox) {
77 if (imap_append($imap_stream, $mailbox, $msg) === false) {
79 echo "TEST FAILED : could not append new message to mailbox '$mailbox'\n";
92 Create a temporary mailbox and add 0 msgs
93 New mailbox created
H A Dimap_close_variation4.phpt22 $stream_id = setup_test_mailbox('imapclosevar4', 3, $mailbox); // set up temp mailbox with 3 messag…
45 $imap_stream = imap_open($mailbox, IMAP_MAILBOX_USERNAME, IMAP_MAILBOX_PASSWORD);
48 echo "CL_EXPUNGE was not set, $num_msg msgs in mailbox\n";
52 // call imap_close with CL_EXPUNGE explicitly set in case mailbox not empty
58 $stream_id = imap_open($mailbox, IMAP_MAILBOX_USERNAME, IMAP_MAILBOX_PASSWORD);
59 populate_mailbox($stream_id, $mailbox, 3);
70 Create a temporary mailbox and add 3 msgs
71 New mailbox created
75 CL_EXPUNGE was not set, 3 msgs in mailbox
H A Dimap_body_basic.phpt15 echo "Create a new mailbox for test\n";
19 echo "Msg Count in new mailbox: ". $check->Nmsgs . "\n";
36 Create a new mailbox for test
37 Create a temporary mailbox and add 1 msgs
38 New mailbox created
39 Msg Count in new mailbox: 1
H A Dbug80226.phpt13 echo "Create a new mailbox for test\n";
24 Create a new mailbox for test
25 Create a temporary mailbox and add 0 msgs
26 New mailbox created
H A Dimap_is_open.phpt17 // set up temp mailbox with 0 messages
18 $stream_id = setup_test_mailbox($mailbox_suffix, 0, $mailbox);
33 Create a temporary mailbox and add 0 msgs
34 New mailbox created
H A Dimap_append_basic.phpt15 echo "Create a new mailbox for test\n";
19 echo "Add a couple of msgs to the new mailbox\n";
51 Create a new mailbox for test
52 Create a temporary mailbox and add 0 msgs
53 New mailbox created
54 Add a couple of msgs to the new mailbox
H A Dimap_bodystruct_basic.phpt14 echo "Create a new mailbox for test and add a multipart msgs\n";
15 $imap_stream = setup_test_mailbox("imapbodystructbasic", 1, $mailbox, "multipart");
59 Create a new mailbox for test and add a multipart msgs
60 Create a temporary mailbox and add 1 msgs
61 New mailbox created
H A Dgh9309.phpt12 $stream_id = setup_test_mailbox('gh9309', 0, $mailbox);
26 Create a temporary mailbox and add 0 msgs
27 New mailbox created
H A Dimap_fetchheader_variation5.phpt20 $stream_id = setup_test_mailbox('imapfetchheadervar5', 3, $mailbox, false); // set up temp mailbox
43 Create a temporary mailbox and add 3 msgs
44 New mailbox created
H A Dimap_clearflag_full_basic.phpt15 echo "Create a new mailbox for test\n";
51 Create a new mailbox for test
52 Create a temporary mailbox and add 10 msgs
53 New mailbox created
H A Dimap_fetchbody_basic.phpt21 // set up mailbox with one message
22 $stream_id = setup_test_mailbox('imapfetchbodybasic', 1, $mailbox, false);
67 Create a temporary mailbox and add 1 msgs
68 New mailbox created
H A Dimap_fetchheader_basic.phpt15 $stream_id = setup_test_mailbox('imapfetchheaderbasic', 1, $mailbox, false); // setup temp mailbox
43 Create a temporary mailbox and add 1 msgs
44 New mailbox created
H A Dimap_undelete_basic.phpt30 Create a temporary mailbox and add 1 msgs
31 New mailbox created
H A Dbug80438.phpt14 // create a new mailbox and add 10 new messages to it
38 Create a temporary mailbox and add 10 msgs
39 New mailbox created
/PHP-8.2/ext/imap/
H A Dphp_imap.stub.php410 …function imap_reopen(IMAP\Connection $imap, string $mailbox, int $flags = 0, int $retries = 0): bo…
426 …function imap_rfc822_write_address(string $mailbox, string $hostname, string $personal): string|fa…
472 function imap_createmailbox(IMAP\Connection $imap, string $mailbox): bool {}
475 function imap_create(IMAP\Connection $imap, string $mailbox): bool {}
482 function imap_deletemailbox(IMAP\Connection $imap, string $mailbox): bool {}
484 function imap_subscribe(IMAP\Connection $imap, string $mailbox): bool {}
486 function imap_unsubscribe(IMAP\Connection $imap, string $mailbox): bool {}
502 function imap_status(IMAP\Connection $imap, string $mailbox, int $flags): \stdClass|false {}
559 function imap_get_quotaroot(IMAP\Connection $imap, string $mailbox): array|false {}
563 …function imap_setacl(IMAP\Connection $imap, string $mailbox, string $user_id, string $rights): boo…
[all …]

Completed in 29 milliseconds

123