Home
last modified time | relevance | path

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

123

/PHP-5.5/ext/standard/tests/mail/
H A Dmail_include.inc23 // open a stream to default mailbox
40 // reopen stream to new mailbox
53 * @param string $mailbox
64 if ($value->name == $mailbox) {
79 return $mailbox;
86 * @param string $mailbox
135 * Get the mailbox name from a mailbox decription, i.e strip off server details.
137 * @param string mailbox complete mailbox name
138 * @return mailbox name
140 function get_mailbox_name($mailbox){
[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-5.5/ext/imap/tests/
H A Dimap_include.inc69 // open a stream to default mailbox
86 // reopen stream to new mailbox
99 * @param string $mailbox
110 if ($value->name == $mailbox) {
125 return $mailbox;
132 * @param string $mailbox
181 * Get the mailbox name from a mailbox decription, i.e strip off server details.
183 * @param string mailbox complete mailbox name
184 * @return mailbox name
186 function get_mailbox_name($mailbox){
[all …]
H A Dimap_mail_copy_basic.phpt11 /* Prototype : bool imap_mail_copy ( resource $imap_stream , string $msglist , string $mailbox
12 * Description: Copies mail messages specified by msglist to specified mailbox.
21 echo "Create a new mailbox for test\n";
24 exit("TEST FAILED: Unable to create test mailbox\n");
28 echo "Msg Count in new mailbox: ". $check->Nmsgs . "\n";
41 Create a new mailbox for test
42 Create a temporary mailbox and add 1 msgs
43 .. mailbox '%s' created
44 Msg Count in new mailbox: 1
H A Dimap_mail_move_basic.phpt11 /* Prototype : bool imap_mail_move ( resource $imap_stream , string $msglist , string $mailbox
12 * Description: Copies mail messages specified by msglist to specified mailbox.
21 echo "Create a new mailbox for test\n";
24 exit("TEST FAILED: Unable to create test mailbox\n");
28 echo "Msg Count in new mailbox: ". $check->Nmsgs . "\n";
41 Create a new mailbox for test
42 Create a temporary mailbox and add 1 msgs
43 .. mailbox '%s' created
44 Msg Count in new mailbox: 1
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_createmailbox_basic.phpt9 /* Prototype : bool imap_createmailbox ( resource $imap_stream , string $mailbox )
10 * Description: Creates a new mailbox specified by mailbox .
19 die("Cannot connect to mailbox $default_mailbox: " . imap_last_error());
28 echo "Add a couple of msgs to '$newname' mailbox\n";
33 echo "Your new mailbox '$newname' has the following status:\n";
41 echo "imap_status on new mailbox failed: " . imap_last_error() . "\n";
47 echo "imap_deletemailbox on new mailbox failed: " . implode("\n", imap_errors()) . "\n";
51 echo "could not create new mailbox: " . implode("\n", imap_errors()) . "\n";
61 Add a couple of msgs to 'phpnewbox' mailbox
62 Your new mailbox 'phpnewbox' has the following status:
H A Dimap_close_variation2.phpt120 Create a temporary mailbox and add 3 msgs
121 .. mailbox '{%s}%s' created
125 CL_EXPUNGE was not set, 3 msgs in mailbox
158 CL_EXPUNGE was not set, 3 msgs in mailbox
162 CL_EXPUNGE was not set, 3 msgs in mailbox
166 CL_EXPUNGE was not set, 3 msgs in mailbox
170 CL_EXPUNGE was not set, 3 msgs in mailbox
179 CL_EXPUNGE was not set, 3 msgs in mailbox
188 CL_EXPUNGE was not set, 3 msgs in mailbox
194 CL_EXPUNGE was not set, 3 msgs in mailbox
[all …]
H A Dimap_body_basic.phpt18 echo "Create a new mailbox for test\n";
21 exit("TEST FAILED: Unable to create test mailbox\n");
25 echo "Msg Count in new mailbox: ". $check->Nmsgs . "\n";
42 Create a new mailbox for test
43 Create a temporary mailbox and add 1 msgs
44 .. mailbox '%s' created
45 Msg Count in new mailbox: 1
H A Dimap_close_basic.phpt20 $stream_id = setup_test_mailbox('', 3, $mailbox); // set up temp mailbox with 3 messages
33 $stream_id = imap_open($mailbox, $username, $password);
34 echo "There are now " . imap_num_msg($stream_id) . " msgs in mailbox '$mailbox'\n";
47 Create a temporary mailbox and add 3 msgs
48 .. mailbox '%sINBOX.phpttest' created
52 There are now 0 msgs in mailbox '%sINBOX.phpttest'
H A Dimap_fetch_overview_variation6.phpt22 $stream_id = setup_test_mailbox('', 0, $mailbox); // setup temp mailbox
23 create_multipart_message($stream_id, $mailbox);
40 * @param string $mailbox
42 function create_multipart_message($imap_stream, $mailbox) {
80 if (imap_append($imap_stream, $mailbox, $msg) === false) {
82 echo "TEST FAILED : could not append new message to mailbox '$mailbox'\n";
95 Create a temporary mailbox and add 0 msgs
96 .. mailbox '{%s}%s' created
H A Dimap_close_variation4.phpt25 $stream_id = setup_test_mailbox('', 3, $mailbox); // set up temp mailbox with 3 messages
43 $imap_stream = imap_open($mailbox, $username, $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, $username, $password);
57 populate_mailbox($stream_id, $mailbox, 3);
68 Create a temporary mailbox and add 3 msgs
69 .. mailbox '{%s}%s' created
73 CL_EXPUNGE was not set, 3 msgs in mailbox
H A Dimap_append_basic.phpt9 /* Prototype : bool imap_append ( resource $imap_stream , string $mailbox , string $message [,…
10 * Description: Append a string message to a specified mailbox.
18 echo "Create a new mailbox for test\n";
21 exit("TEST FAILED: Unable to create test mailbox\n");
25 echo "Add a couple of msgs to new mailbox " . $mb_details->Mailbox . "\n";
57 Create a new mailbox for test
58 Create a temporary mailbox and add 0 msgs
59 .. mailbox '%s' created
60 Add a couple of msgs to new mailbox {%s}INBOX.%s
H A Dskipif.inc5 $mailbox = '{localhost/norsh}';
11 $mbox = @imap_open($mailbox, $username, $password, $options, $retries);
13 die("skip could not connect to mailbox $mailbox");
H A Dimap_bodystruct_basic.phpt17 echo "Create a new mailbox for test and add a multipart msgs\n";
18 $imap_stream = setup_test_mailbox("", 1, $mailbox, "multipart");
20 exit("TEST FAILED: Unable to create test mailbox\n");
78 Create a new mailbox for test and add a multipart msgs
79 Create a temporary mailbox and add 1 msgs
80 .. mailbox '{%s}%s' created
H A Dimap_clearflag_full_basic.phpt18 echo "Create a new mailbox for test\n";
21 exit("TEST FAILED: Unable to create test mailbox\n");
57 Create a new mailbox for test
58 Create a temporary mailbox and add 10 msgs
59 .. mailbox '{%s}%s' created
H A Dimap_fetch_overview_error.phpt25 $stream_id = setup_test_mailbox('', 2, $mailbox, 'notSimple'); // set up temp mailbox with 2 msgs
44 Create a temporary mailbox and add 2 msgs
45 .. mailbox '{%s}%s' created
H A Dimap_undelete_basic.phpt27 Create a temporary mailbox and add 1 msgs
28 .. mailbox '{%s}%s' created
H A Dimap_fetchbody_basic.phpt20 // set up mailbox with one message
21 $stream_id = setup_test_mailbox('', 1, $mailbox, 'notSimple');
66 Create a temporary mailbox and add 1 msgs
67 .. mailbox '{%s}%s' created
H A Dimap_fetchheader_basic.phpt18 $stream_id = setup_test_mailbox('', 1, $mailbox, 'multiPart'); // setup temp mailbox with 1 msg
46 Create a temporary mailbox and add 1 msgs
47 .. mailbox '%s.phpttest' created
H A Dimap_fetch_overview_basic.phpt19 // create a new mailbox and add two new messages to it
20 $stream_id = setup_test_mailbox('', 2, $mailbox, 'notSimple');
54 Create a temporary mailbox and add 2 msgs
55 .. mailbox '{%s}%s' created
H A Dimap_fetchheader_variation5.phpt23 $stream_id = setup_test_mailbox('', 3, $mailbox, 'notSimple'); // set up temp mailbox with 3 msgs
47 Create a temporary mailbox and add 3 msgs
48 .. mailbox '{%s}%s' created
H A Dimap_renamemailbox_basic.phpt24 exit("TEST FAILED: Unable to create test mailbox\n");
58 Create a temporary mailbox and add 1 msgs
59 .. mailbox '{%s}%s' created
H A Dimap_fetchbody_error.phpt25 $stream_id = setup_test_mailbox('', 1); // set up temp mailbox with 1 simple msg
47 Create a temporary mailbox and add 1 msgs
48 .. mailbox '{%s}%s' created
H A Dimap_fetchheader_variation3.phpt25 $stream_id = setup_test_mailbox('', 1); // set up temporary mailbox with one simple message
53 Create a temporary mailbox and add 1 msgs
54 .. mailbox '{%s}%s' created

Completed in 19 milliseconds

123