Home
last modified time | relevance | path

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

123

/PHP-8.0/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.inc15 $mailbox = '{localhost}';
21 $mbox = @imap_open($mailbox, $username, $password, $options, $retries);
23 die("skip could not connect to mailbox $mailbox");
/PHP-8.0/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.0/ext/imap/tests/
H A Dbug46918.phpt28 'mailbox' => 'iane',
34 'mailbox' => 'shuf6',
39 'mailbox' => 'blobby',
44 'mailbox' => 'ian',
50 'mailbox' => 'foo',
56 'mailbox' => 'foo',
61 'mailbox' => 'ian',
66 'mailbox' => 'ian',
71 'mailbox' => 'UNEXPECTED_DATA_AFTER_ADDRESS',
H A Dimap_open_with_cl_expunge.phpt13 // set up temp mailbox with 3 messages
14 $stream_id = setup_test_mailbox('imapopenwithclexpunge', 3, $mailbox, flags: CL_EXPUNGE);
25 $stream_id = imap_open($mailbox, IMAP_MAILBOX_USERNAME, IMAP_MAILBOX_PASSWORD);
26 echo "There are now " . imap_num_msg($stream_id) . " msgs in mailbox '$mailbox'\n";
37 Create a temporary mailbox and add 3 msgs
38 New mailbox created
42 There are now 0 msgs in mailbox '%sINBOX.phpttestimapopenwithclexpunge'
H A Dimap_reopen_with_cl_expunge.phpt15 // set up temp mailbox with 3 messages
16 $stream_id = setup_test_mailbox($mailbox_suffix , 3, $mailbox);
29 $stream_id = imap_open($mailbox, IMAP_MAILBOX_USERNAME, IMAP_MAILBOX_PASSWORD);
30 echo "There are now " . imap_num_msg($stream_id) . " msgs in mailbox '$mailbox'\n";
41 Create a temporary mailbox and add 3 msgs
42 New mailbox created
47 There are now 0 msgs in mailbox '%sINBOX.phpttestimapreopenwithclexpunge'
H A Dimap_close_basic.phpt15 $stream_id = setup_test_mailbox('imapclosebasic', 3, $mailbox); // set up temp mailbox with 3 messa…
28 $stream_id = imap_open($mailbox, IMAP_MAILBOX_USERNAME, IMAP_MAILBOX_PASSWORD);
29 echo "There are now " . imap_num_msg($stream_id) . " msgs in mailbox '$mailbox'\n";
42 Create a temporary mailbox and add 3 msgs
43 New mailbox created
47 There are now 0 msgs in mailbox '%sINBOX.phpttestimapclosebasic'
H A Dimap_mail_move_basic.phpt15 echo "Create a new mailbox for test\n";
19 echo "Msg Count in new mailbox: ". $check->Nmsgs . "\n";
32 Create a new mailbox for test
33 Create a temporary mailbox and add 1 msgs
34 New mailbox created
35 Msg Count in new mailbox: 1
H A Dimap_mail_copy_basic.phpt15 echo "Create a new mailbox for test\n";
19 echo "Msg Count in new mailbox: ". $check->Nmsgs . "\n";
32 Create a new mailbox for test
33 Create a temporary mailbox and add 1 msgs
34 New mailbox created
35 Msg Count in new mailbox: 1
H A Dimap_createmailbox_basic.phpt22 echo "Add a couple of msgs to '$newname' mailbox\n";
27 echo "Your new mailbox '$newname' has the following status:\n";
35 echo "imap_status on new mailbox failed: " . imap_last_error() . "\n";
41 echo "imap_deletemailbox on new mailbox failed: " . implode("\n", imap_errors()) . "\n";
45 echo "could not create new mailbox: " . implode("\n", imap_errors()) . "\n";
58 Create a temporary mailbox and add 0 msgs
59 New mailbox created
61 Add a couple of msgs to 'phpnewbox' mailbox
62 Your new mailbox 'phpnewbox' has the following status:
H A Dimap_close_variation4.phpt20 $stream_id = setup_test_mailbox('imapclosevar4', 3, $mailbox); // set up temp mailbox with 3 messag…
43 $imap_stream = imap_open($mailbox, IMAP_MAILBOX_USERNAME, IMAP_MAILBOX_PASSWORD);
46 echo "CL_EXPUNGE was not set, $num_msg msgs in mailbox\n";
50 // call imap_close with CL_EXPUNGE explicitly set in case mailbox not empty
56 $stream_id = imap_open($mailbox, IMAP_MAILBOX_USERNAME, IMAP_MAILBOX_PASSWORD);
57 populate_mailbox($stream_id, $mailbox, 3);
68 Create a temporary mailbox and add 3 msgs
69 New mailbox created
73 CL_EXPUNGE was not set, 3 msgs in mailbox
H A Dimap_fetch_overview_variation6.phpt17 $stream_id = setup_test_mailbox('imapfetchoverviewvar6', 0, $mailbox); // setup temp mailbox
18 create_multipart_message($stream_id, $mailbox);
35 * @param string $mailbox
37 function create_multipart_message($imap_stream, $mailbox) {
75 if (imap_append($imap_stream, $mailbox, $msg) === false) {
77 echo "TEST FAILED : could not append new message to mailbox '$mailbox'\n";
90 Create a temporary mailbox and add 0 msgs
91 New mailbox created
H A Dimap_body_basic.phpt13 echo "Create a new mailbox for test\n";
17 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 Dbug80226.phpt11 echo "Create a new mailbox for test\n";
22 Create a new mailbox for test
23 Create a temporary mailbox and add 0 msgs
24 New mailbox created
H A Dimap_append_basic.phpt13 echo "Create a new mailbox for test\n";
17 echo "Add a couple of msgs to the new mailbox\n";
49 Create a new mailbox for test
50 Create a temporary mailbox and add 0 msgs
51 New mailbox created
52 Add a couple of msgs to the new mailbox
H A Dimap_bodystruct_basic.phpt12 echo "Create a new mailbox for test and add a multipart msgs\n";
13 $imap_stream = setup_test_mailbox("imapbodystructbasic", 1, $mailbox, "multipart");
57 Create a new mailbox for test and add a multipart msgs
58 Create a temporary mailbox and add 1 msgs
59 New mailbox created
H A Dimap_fetchheader_variation5.phpt18 $stream_id = setup_test_mailbox('imapfetchheadervar5', 3, $mailbox, false); // set up temp mailbox
41 Create a temporary mailbox and add 3 msgs
42 New mailbox created
H A Dimap_undelete_basic.phpt28 Create a temporary mailbox and add 1 msgs
29 New mailbox created
H A Dimap_fetch_overview_basic.phpt13 // create a new mailbox and add two new messages to it
14 $stream_id = setup_test_mailbox('imapfetchoverviewbasic', 2, $mailbox, false);
48 Create a temporary mailbox and add 2 msgs
49 New mailbox created
H A Dimap_clearflag_full_basic.phpt13 echo "Create a new mailbox for test\n";
49 Create a new mailbox for test
50 Create a temporary mailbox and add 10 msgs
51 New mailbox created
H A Dimap_fetchbody_basic.phpt19 // set up mailbox with one message
20 $stream_id = setup_test_mailbox('imapfetchbodybasic', 1, $mailbox, false);
65 Create a temporary mailbox and add 1 msgs
66 New mailbox created
H A Dimap_fetchheader_basic.phpt13 $stream_id = setup_test_mailbox('imapfetchheaderbasic', 1, $mailbox, false); // setup temp mailbox
41 Create a temporary mailbox and add 1 msgs
42 New mailbox created
H A Dimap_fetchheader_uid.phpt25 Create a temporary mailbox and add 10 msgs
26 New mailbox created
H A Dimap_body_uid.phpt25 Create a temporary mailbox and add 10 msgs
26 New mailbox created
/PHP-8.0/ext/imap/
H A Dphp_imap.stub.php13 function imap_reopen($imap, string $mailbox, int $flags = 0, int $retries = 0): bool {} argument
110 function imap_mail_copy($imap, string $message_nums, string $mailbox, int $flags = 0): bool {} argument
118 function imap_createmailbox($imap, string $mailbox): bool {} argument
124 function imap_create($imap, string $mailbox): bool {} argument
136 function imap_deletemailbox($imap, string $mailbox): bool {} argument
139 function imap_subscribe($imap, string $mailbox): bool {} argument
142 function imap_unsubscribe($imap, string $mailbox): bool {} argument
164 function imap_status($imap, string $mailbox, int $flags) {} argument
242 function imap_get_quotaroot($imap, string $mailbox): array|false {} argument
248 function imap_setacl($imap, string $mailbox, string $user_id, string $rights): bool {} argument
[all …]

Completed in 18 milliseconds

123