cvs: phpdoc /en/reference/imap/functions imap-append.xml imap-createmailbox.xml imap-delete.xml imap-fetch-overview.xml imap-get-quota.xml
imap-get-quotaroot.xml imap-getmailboxes.xml imap-list.xml imap-mailboxmsginfo.xml imap-open.xml imap-ping.xml imap-reopen.xml imap-set-quota.xml
imap-setflag-full.xml imap-status.xml
| From: | Hartmut Holzgraefe | Date: | Mon, 23 Jan 2006 01:48:07 +0000 |
| Subject: | cvs: phpdoc /en/reference/imap/functions imap-append.xml imap-createmailbox.xml imap-delete.xml imap-fetch-overview.xml imap-get-quota.xml imap-get-quotaroot.xml imap-getmailboxes.xml imap-list.xml imap-mailboxmsginfo.xml imap-open.xml imap-ping.xml imap-reopen.xml imap-set-quota.xml imap-setflag-full.xml imap-status.xml |
||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969371725@lists.php.net to get a copy of this message | ||
hholzgra Mon Jan 23 01:48:07 2006 UTC
Modified files:
/phpdoc/en/reference/imap/functions imap-append.xml
imap-createmailbox.xml
imap-delete.xml
imap-fetch-overview.xml
imap-get-quota.xml
imap-get-quotaroot.xml
imap-getmailboxes.xml
imap-list.xml
imap-mailboxmsginfo.xml
imap-open.xml imap-ping.xml
imap-reopen.xml
imap-set-quota.xml
imap-setflag-full.xml
imap-status.xml
Log:
make example hostnames conform to RFC 2606 Section 3
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/imap/functions/imap-append.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc/en/reference/imap/functions/imap-append.xml diff -u phpdoc/en/reference/imap/functions/imap-append.xml:1.9 phpdoc/en/reference/imap/functions/imap-append.xml:1.10 --- phpdoc/en/reference/imap/functions/imap-append.xml:1.9 Mon Mar 8 09:18:40 2004 +++ phpdoc/en/reference/imap/functions/imap-append.xml Mon Jan 23 01:48:07 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> <!-- splitted from ./en/functions/imap.xml, last change in rev 1.2 --> <refentry id="function.imap-append"> <refnamediv> @@ -37,12 +37,12 @@ <programlisting role="php"> <![CDATA[ <?php -$stream = imap_open("{your.imap.host}INBOX.Drafts", "username", "password"); +$stream = imap_open("{imap.example.org}INBOX.Drafts", "username", "password"); $check = imap_check($stream); echo "Msg Count before append: ". $check->Nmsgs . "\n"; -imap_append($stream, "{your.imap.host}INBOX.Drafts" +imap_append($stream, "{imap.example.org}INBOX.Drafts" , "From: me@example.com\r\n" . "To: you@example.com\r\n" . "Subject: test\r\n" http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/imap/functions/imap-createmailbox.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc/en/reference/imap/functions/imap-createmailbox.xml diff -u phpdoc/en/reference/imap/functions/imap-createmailbox.xml:1.9 phpdoc/en/reference/imap/functions/imap-createmailbox.xml:1.10 --- phpdoc/en/reference/imap/functions/imap-createmailbox.xml:1.9 Mon Mar 8 09:18:40 2004 +++ phpdoc/en/reference/imap/functions/imap-createmailbox.xml Mon Jan 23 01:48:07 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> <!-- splitted from ./en/functions/imap.xml, last change in rev 1.2 --> <refentry id="function.imap-createmailbox"> <refnamediv> @@ -27,7 +27,7 @@ <programlisting role="php"> <![CDATA[ <?php -$mbox = imap_open("{your.imap.host}", "username", "password", OP_HALFOPEN) +$mbox = imap_open("{imap.example.org}", "username", "password", OP_HALFOPEN) or die("can't connect: " . imap_last_error()); $name1 = "phpnewbox"; @@ -41,8 +41,8 @@ // check its status after creation and finaly remove it to restore // your inbox to its initial state -if (@imap_createmailbox($mbox, imap_utf7_encode("{your.imap.host}INBOX.$newname"))) { - $status = @imap_status($mbox, "{your.imap.host}INBOX.$newname", SA_ALL); +if (@imap_createmailbox($mbox, imap_utf7_encode("{imap.example.org}INBOX.$newname"))) { + $status = @imap_status($mbox, "{imap.example.org}INBOX.$newname", SA_ALL); if ($status) { echo "your new mailbox '$name1' has the following status:<br />\n"; echo "Messages: " . $status->messages . "<br />\n"; @@ -51,7 +51,7 @@ echo "UIDnext: " . $status->uidnext . "<br />\n"; echo "UIDvalidity:" . $status->uidvalidity . "<br />\n"; - if (imap_renamemailbox($mbox, "{your.imap.host}INBOX.$newname", "{your.imap.host}INBOX.$name2")) { + if (imap_renamemailbox($mbox, "{imap.example.org}INBOX.$newname", "{imap.example.org}INBOX.$name2")) { echo "renamed new mailbox from '$name1' to '$name2'<br />\n"; $newname = $name2; } else { @@ -61,7 +61,7 @@ echo "imap_status on new mailbox failed: " . imap_last_error() . "<br />\n"; } - if (@imap_deletemailbox($mbox, "{your.imap.host}INBOX.$newname")) { + if (@imap_deletemailbox($mbox, "{imap.example.org}INBOX.$newname")) { echo "new mailbox removed to restore initial state<br />\n"; } else { echo "imap_deletemailbox on new mailbox failed: " . implode("<br />\n", imap_errors()) . "<br />\n"; http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/imap/functions/imap-delete.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc/en/reference/imap/functions/imap-delete.xml diff -u phpdoc/en/reference/imap/functions/imap-delete.xml:1.8 phpdoc/en/reference/imap/functions/imap-delete.xml:1.9 --- phpdoc/en/reference/imap/functions/imap-delete.xml:1.8 Mon Mar 8 09:18:41 2004 +++ phpdoc/en/reference/imap/functions/imap-delete.xml Mon Jan 23 01:48:07 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <!-- splitted from ./en/functions/imap.xml, last change in rev 1.2 --> <refentry id="function.imap-delete"> <refnamediv> @@ -46,7 +46,7 @@ <![CDATA[ <?php -$mbox = imap_open("{your.imap.host}INBOX", "username", "password") +$mbox = imap_open("{imap.example.org}INBOX", "username", "password") or die("Can't connect: " . imap_last_error()); $check = imap_mailboxmsginfo($mbox); http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/imap/functions/imap-fetch-overview.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc/en/reference/imap/functions/imap-fetch-overview.xml diff -u phpdoc/en/reference/imap/functions/imap-fetch-overview.xml:1.9 phpdoc/en/reference/imap/functions/imap-fetch-overview.xml:1.10 --- phpdoc/en/reference/imap/functions/imap-fetch-overview.xml:1.9 Fri Jul 1 13:07:48 2005 +++ phpdoc/en/reference/imap/functions/imap-fetch-overview.xml Mon Jan 23 01:48:07 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> <!-- splitted from ./en/functions/imap.xml, last change in rev 1.33 --> <refentry id="function.imap-fetch-overview"> <refnamediv> @@ -112,7 +112,7 @@ <programlisting role="php"> <![CDATA[ <?php -$mbox = imap_open("{your.imap.host:143}", "username", "password") +$mbox = imap_open("{imap.example.org:143}", "username", "password") or die("can't connect: " . imap_last_error()); $overview = imap_fetch_overview($mbox, "2,4:6", 0); http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/imap/functions/imap-get-quota.xml?r1=1.13&r2=1.14&diff_format=u Index: phpdoc/en/reference/imap/functions/imap-get-quota.xml diff -u phpdoc/en/reference/imap/functions/imap-get-quota.xml:1.13 phpdoc/en/reference/imap/functions/imap-get-quota.xml:1.14 --- phpdoc/en/reference/imap/functions/imap-get-quota.xml:1.13 Fri Aug 13 01:00:46 2004 +++ phpdoc/en/reference/imap/functions/imap-get-quota.xml Mon Jan 23 01:48:07 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.13 $ --> +<!-- $Revision: 1.14 $ --> <!-- splitted from ./en/functions/imap.xml, last change in rev 1.2 --> <refentry id="function.imap-get-quota"> <refnamediv> @@ -44,7 +44,7 @@ <programlisting role="php"> <![CDATA[ <?php -$mbox = imap_open("{your.imap.host}", "mailadmin", "password", OP_HALFOPEN) +$mbox = imap_open("{imap.example.org}", "mailadmin", "password", OP_HALFOPEN) or die("can't connect: " . imap_last_error()); $quota_value = imap_get_quota($mbox, "user.kalowsky"); @@ -79,7 +79,7 @@ <programlisting role="php"> <![CDATA[ <?php -$mbox = imap_open("{your.imap.host}", "mailadmin", "password", OP_HALFOPEN) +$mbox = imap_open("{imap.example.org}", "mailadmin", "password", OP_HALFOPEN) or die("can't connect: " . imap_last_error()); $quota_values = imap_get_quota($mbox, "user.kalowsky"); http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/imap/functions/imap-get-quotaroot.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc/en/reference/imap/functions/imap-get-quotaroot.xml diff -u phpdoc/en/reference/imap/functions/imap-get-quotaroot.xml:1.5 phpdoc/en/reference/imap/functions/imap-get-quotaroot.xml:1.6 --- phpdoc/en/reference/imap/functions/imap-get-quotaroot.xml:1.5 Thu Dec 18 17:44:50 2003 +++ phpdoc/en/reference/imap/functions/imap-get-quotaroot.xml Mon Jan 23 01:48:07 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <refentry id="function.imap-get-quotaroot"> <refnamediv> <refname>imap_get_quotaroot</refname> @@ -43,7 +43,7 @@ <programlisting role="php"> <![CDATA[ <?php -$mbox = imap_open("{your.imap.host}", "kalowsky", "password", OP_HALFOPEN) +$mbox = imap_open("{imap.example.org}", "kalowsky", "password", OP_HALFOPEN) or die("can't connect: " . imap_last_error()); $quota = imap_get_quotaroot($mbox, "INBOX"); http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/imap/functions/imap-getmailboxes.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc/en/reference/imap/functions/imap-getmailboxes.xml diff -u phpdoc/en/reference/imap/functions/imap-getmailboxes.xml:1.7 phpdoc/en/reference/imap/functions/imap-getmailboxes.xml:1.8 --- phpdoc/en/reference/imap/functions/imap-getmailboxes.xml:1.7 Fri Jul 1 13:07:48 2005 +++ phpdoc/en/reference/imap/functions/imap-getmailboxes.xml Mon Jan 23 01:48:07 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <!-- splitted from ./en/functions/imap.xml, last change in rev 1.2 --> <refentry id="function.imap-getmailboxes"> <refnamediv> @@ -81,10 +81,10 @@ <programlisting role="php"> <![CDATA[ <?php -$mbox = imap_open("{your.imap.host}", "username", "password", OP_HALFOPEN) +$mbox = imap_open("{imap.example.org}", "username", "password", OP_HALFOPEN) or die("can't connect: " . imap_last_error()); -$list = imap_getmailboxes($mbox, "{your.imap.host}", "*"); +$list = imap_getmailboxes($mbox, "{imap.example.org}", "*"); if (is_array($list)) { foreach ($list as $key => $val) { echo "($key) "; http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/imap/functions/imap-list.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc/en/reference/imap/functions/imap-list.xml diff -u phpdoc/en/reference/imap/functions/imap-list.xml:1.5 phpdoc/en/reference/imap/functions/imap-list.xml:1.6 --- phpdoc/en/reference/imap/functions/imap-list.xml:1.5 Fri Jul 1 13:07:48 2005 +++ phpdoc/en/reference/imap/functions/imap-list.xml Mon Jan 23 01:48:07 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <refentry id="function.imap-list"> <refnamediv> <refname>imap_list</refname> @@ -24,10 +24,10 @@ <programlisting role="php"> <![CDATA[ <?php -$mbox = imap_open("{your.imap.host}", "username", "password", OP_HALFOPEN) +$mbox = imap_open("{imap.example.org}", "username", "password", OP_HALFOPEN) or die("can't connect: " . imap_last_error()); -$list = imap_list($mbox, "{your.imap.host}", "*"); +$list = imap_list($mbox, "{imap.example.org}", "*"); if (is_array($list)) { foreach ($list as $val) { echo imap_utf7_decode($val) . "<br />\n"; http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/imap/functions/imap-mailboxmsginfo.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc/en/reference/imap/functions/imap-mailboxmsginfo.xml diff -u phpdoc/en/reference/imap/functions/imap-mailboxmsginfo.xml:1.4 phpdoc/en/reference/imap/functions/imap-mailboxmsginfo.xml:1.5 --- phpdoc/en/reference/imap/functions/imap-mailboxmsginfo.xml:1.4 Mon Dec 15 16:51:13 2003 +++ phpdoc/en/reference/imap/functions/imap-mailboxmsginfo.xml Mon Jan 23 01:48:07 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/imap.xml, last change in rev 1.33 --> <refentry id="function.imap-mailboxmsginfo"> <refnamediv> @@ -72,7 +72,7 @@ <![CDATA[ <?php -$mbox = imap_open("{your.imap.host}INBOX", "username", "password") +$mbox = imap_open("{imap.example.org}INBOX", "username", "password") or die("can't connect: " . imap_last_error()); $check = imap_mailboxmsginfo($mbox); http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/imap/functions/imap-open.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc/en/reference/imap/functions/imap-open.xml diff -u phpdoc/en/reference/imap/functions/imap-open.xml:1.9 phpdoc/en/reference/imap/functions/imap-open.xml:1.10 --- phpdoc/en/reference/imap/functions/imap-open.xml:1.9 Fri Jul 1 13:07:48 2005 +++ phpdoc/en/reference/imap/functions/imap-open.xml Mon Jan 23 01:48:07 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> <!-- splitted from ./en/functions/imap.xml, last change in rev 1.2 --> <refentry id="function.imap-open"> <refnamediv> @@ -244,10 +244,10 @@ <programlisting role="php"> <![CDATA[ <?php -$mbox = imap_open("{your.imap.host:143}", "username", "password"); +$mbox = imap_open("{imap.example.org:143}", "username", "password"); echo "<h1>Mailboxes</h1>\n"; -$folders = imap_listmailbox($mbox, "{your.imap.host:143}", "*"); +$folders = imap_listmailbox($mbox, "{imap.example.org:143}", "*"); if ($folders == false) { echo "Call failed<br />\n"; http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/imap/functions/imap-ping.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc/en/reference/imap/functions/imap-ping.xml diff -u phpdoc/en/reference/imap/functions/imap-ping.xml:1.5 phpdoc/en/reference/imap/functions/imap-ping.xml:1.6 --- phpdoc/en/reference/imap/functions/imap-ping.xml:1.5 Fri Sep 3 18:43:59 2004 +++ phpdoc/en/reference/imap/functions/imap-ping.xml Mon Jan 23 01:48:07 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/imap.xml, last change in rev 1.2 --> <refentry id="function.imap-ping"> <refnamediv> @@ -28,7 +28,7 @@ <![CDATA[ <?php -$imap = imap_open("{your.imap.host}", "mailadmin", "password"); +$imap = imap_open("{imap.example.org}", "mailadmin", "password"); // after some sleeping if (!imap_ping($imap)) { http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/imap/functions/imap-reopen.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc/en/reference/imap/functions/imap-reopen.xml diff -u phpdoc/en/reference/imap/functions/imap-reopen.xml:1.7 phpdoc/en/reference/imap/functions/imap-reopen.xml:1.8 --- phpdoc/en/reference/imap/functions/imap-reopen.xml:1.7 Mon Jan 23 01:19:28 2006 +++ phpdoc/en/reference/imap/functions/imap-reopen.xml Mon Jan 23 01:48:07 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <!-- splitted from ./en/functions/imap.xml, last change in rev 1.2 --> <refentry id="function.imap-reopen"> <refnamediv> @@ -55,9 +55,9 @@ <programlisting role="php"> <![CDATA[ <?php -$mbox = imap_open("{mailget.mysql.com:143/novalidate-cert}INBOX", "hholzgraefe", "nomore6nomore6") or die(join(", ", imap_errors())); +$mbox = imap_open("{imap.example.org:143}INBOX", "username", "password") or die(join(", ", imap_errors())); // ... -imap_reopen($mbox, "{mailget.mysql.com:143}Inbox.Sent") or die(join(", ", imap_errors())); +imap_reopen($mbox, "{imap.example.org:143}INBOX.Sent") or die(join(", ", imap_errors())); // .. ?> ]]> http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/imap/functions/imap-set-quota.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc/en/reference/imap/functions/imap-set-quota.xml diff -u phpdoc/en/reference/imap/functions/imap-set-quota.xml:1.7 phpdoc/en/reference/imap/functions/imap-set-quota.xml:1.8 --- phpdoc/en/reference/imap/functions/imap-set-quota.xml:1.7 Fri Apr 22 15:39:27 2005 +++ phpdoc/en/reference/imap/functions/imap-set-quota.xml Mon Jan 23 01:48:07 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <!-- splitted from ./en/functions/imap.xml, last change in rev 1.2 --> <refentry id="function.imap-set-quota"> <refnamediv> @@ -42,7 +42,7 @@ <programlisting role="php"> <![CDATA[ <?php -$mbox = imap_open("{your.imap.host:143}", "mailadmin", "password"); +$mbox = imap_open("{imap.example.org:143}", "mailadmin", "password"); if (!imap_set_quota($mbox, "user.kalowsky", 3000)) { echo "Error in setting quota\n"; http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/imap/functions/imap-setflag-full.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc/en/reference/imap/functions/imap-setflag-full.xml diff -u phpdoc/en/reference/imap/functions/imap-setflag-full.xml:1.9 phpdoc/en/reference/imap/functions/imap-setflag-full.xml:1.10 --- phpdoc/en/reference/imap/functions/imap-setflag-full.xml:1.9 Wed Aug 18 14:15:17 2004 +++ phpdoc/en/reference/imap/functions/imap-setflag-full.xml Mon Jan 23 01:48:07 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> <!-- splitted from ./en/functions/imap.xml, last change in rev 1.2 --> <refentry id="function.imap-setflag-full"> <refnamediv> @@ -43,7 +43,7 @@ <programlisting role="php"> <![CDATA[ <?php -$mbox = imap_open("{your.imap.host:143}", "username", "password") +$mbox = imap_open("{imap.example.org:143}", "username", "password") or die("can't connect: " . imap_last_error()); $status = imap_setflag_full($mbox, "2,5", "\\Seen \\Flagged"); http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/imap/functions/imap-status.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc/en/reference/imap/functions/imap-status.xml diff -u phpdoc/en/reference/imap/functions/imap-status.xml:1.8 phpdoc/en/reference/imap/functions/imap-status.xml:1.9 --- phpdoc/en/reference/imap/functions/imap-status.xml:1.8 Mon Mar 8 09:18:44 2004 +++ phpdoc/en/reference/imap/functions/imap-status.xml Mon Jan 23 01:48:07 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <!-- splitted from ./en/functions/imap.xml, last change in rev 1.2 --> <refentry id="function.imap-status"> <refnamediv> @@ -68,10 +68,10 @@ <programlisting role="php"> <![CDATA[ <?php -$mbox = imap_open("{your.imap.host}", "username", "password", OP_HALFOPEN) +$mbox = imap_open("{imap.example.org}", "username", "password", OP_HALFOPEN) or die("can't connect: " . imap_last_error()); -$status = imap_status($mbox, "{your.imap.host}INBOX", SA_ALL); +$status = imap_status($mbox, "{imap.example.org}INBOX", SA_ALL); if ($status) { echo "Messages: " . $status->messages . "<br />\n"; echo "Recent: " . $status->recent . "<br />\n";
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/imap/functions/imap-append.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc/en/reference/imap/functions/imap-append.xml diff -u phpdoc/en/reference/imap/functions/imap-append.xml:1.9 phpdoc/en/reference/imap/functions/imap-append.xml:1.10 --- phpdoc/en/reference/imap/functions/imap-append.xml:1.9 Mon Mar 8 09:18:40 2004 +++ phpdoc/en/reference/imap/functions/imap-append.xml Mon Jan 23 01:48:07 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> <!-- splitted from ./en/functions/imap.xml, last change in rev 1.2 --> <refentry id="function.imap-append"> <refnamediv> @@ -37,12 +37,12 @@ <programlisting role="php"> <![CDATA[ <?php -$stream = imap_open("{your.imap.host}INBOX.Drafts", "username", "password"); +$stream = imap_open("{imap.example.org}INBOX.Drafts", "username", "password"); $check = imap_check($stream); echo "Msg Count before append: ". $check->Nmsgs . "\n"; -imap_append($stream, "{your.imap.host}INBOX.Drafts" +imap_append($stream, "{imap.example.org}INBOX.Drafts" , "From: me@example.com\r\n" . "To: you@example.com\r\n" . "Subject: test\r\n" http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/imap/functions/imap-createmailbox.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc/en/reference/imap/functions/imap-createmailbox.xml diff -u phpdoc/en/reference/imap/functions/imap-createmailbox.xml:1.9 phpdoc/en/reference/imap/functions/imap-createmailbox.xml:1.10 --- phpdoc/en/reference/imap/functions/imap-createmailbox.xml:1.9 Mon Mar 8 09:18:40 2004 +++ phpdoc/en/reference/imap/functions/imap-createmailbox.xml Mon Jan 23 01:48:07 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> <!-- splitted from ./en/functions/imap.xml, last change in rev 1.2 --> <refentry id="function.imap-createmailbox"> <refnamediv> @@ -27,7 +27,7 @@ <programlisting role="php"> <![CDATA[ <?php -$mbox = imap_open("{your.imap.host}", "username", "password", OP_HALFOPEN) +$mbox = imap_open("{imap.example.org}", "username", "password", OP_HALFOPEN) or die("can't connect: " . imap_last_error()); $name1 = "phpnewbox"; @@ -41,8 +41,8 @@ // check its status after creation and finaly remove it to restore // your inbox to its initial state -if (@imap_createmailbox($mbox, imap_utf7_encode("{your.imap.host}INBOX.$newname"))) { - $status = @imap_status($mbox, "{your.imap.host}INBOX.$newname", SA_ALL); +if (@imap_createmailbox($mbox, imap_utf7_encode("{imap.example.org}INBOX.$newname"))) { + $status = @imap_status($mbox, "{imap.example.org}INBOX.$newname", SA_ALL); if ($status) { echo "your new mailbox '$name1' has the following status:<br />\n"; echo "Messages: " . $status->messages . "<br />\n"; @@ -51,7 +51,7 @@ echo "UIDnext: " . $status->uidnext . "<br />\n"; echo "UIDvalidity:" . $status->uidvalidity . "<br />\n"; - if (imap_renamemailbox($mbox, "{your.imap.host}INBOX.$newname", "{your.imap.host}INBOX.$name2")) { + if (imap_renamemailbox($mbox, "{imap.example.org}INBOX.$newname", "{imap.example.org}INBOX.$name2")) { echo "renamed new mailbox from '$name1' to '$name2'<br />\n"; $newname = $name2; } else { @@ -61,7 +61,7 @@ echo "imap_status on new mailbox failed: " . imap_last_error() . "<br />\n"; } - if (@imap_deletemailbox($mbox, "{your.imap.host}INBOX.$newname")) { + if (@imap_deletemailbox($mbox, "{imap.example.org}INBOX.$newname")) { echo "new mailbox removed to restore initial state<br />\n"; } else { echo "imap_deletemailbox on new mailbox failed: " . implode("<br />\n", imap_errors()) . "<br />\n"; http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/imap/functions/imap-delete.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc/en/reference/imap/functions/imap-delete.xml diff -u phpdoc/en/reference/imap/functions/imap-delete.xml:1.8 phpdoc/en/reference/imap/functions/imap-delete.xml:1.9 --- phpdoc/en/reference/imap/functions/imap-delete.xml:1.8 Mon Mar 8 09:18:41 2004 +++ phpdoc/en/reference/imap/functions/imap-delete.xml Mon Jan 23 01:48:07 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <!-- splitted from ./en/functions/imap.xml, last change in rev 1.2 --> <refentry id="function.imap-delete"> <refnamediv> @@ -46,7 +46,7 @@ <![CDATA[ <?php -$mbox = imap_open("{your.imap.host}INBOX", "username", "password") +$mbox = imap_open("{imap.example.org}INBOX", "username", "password") or die("Can't connect: " . imap_last_error()); $check = imap_mailboxmsginfo($mbox); http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/imap/functions/imap-fetch-overview.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc/en/reference/imap/functions/imap-fetch-overview.xml diff -u phpdoc/en/reference/imap/functions/imap-fetch-overview.xml:1.9 phpdoc/en/reference/imap/functions/imap-fetch-overview.xml:1.10 --- phpdoc/en/reference/imap/functions/imap-fetch-overview.xml:1.9 Fri Jul 1 13:07:48 2005 +++ phpdoc/en/reference/imap/functions/imap-fetch-overview.xml Mon Jan 23 01:48:07 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> <!-- splitted from ./en/functions/imap.xml, last change in rev 1.33 --> <refentry id="function.imap-fetch-overview"> <refnamediv> @@ -112,7 +112,7 @@ <programlisting role="php"> <![CDATA[ <?php -$mbox = imap_open("{your.imap.host:143}", "username", "password") +$mbox = imap_open("{imap.example.org:143}", "username", "password") or die("can't connect: " . imap_last_error()); $overview = imap_fetch_overview($mbox, "2,4:6", 0); http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/imap/functions/imap-get-quota.xml?r1=1.13&r2=1.14&diff_format=u Index: phpdoc/en/reference/imap/functions/imap-get-quota.xml diff -u phpdoc/en/reference/imap/functions/imap-get-quota.xml:1.13 phpdoc/en/reference/imap/functions/imap-get-quota.xml:1.14 --- phpdoc/en/reference/imap/functions/imap-get-quota.xml:1.13 Fri Aug 13 01:00:46 2004 +++ phpdoc/en/reference/imap/functions/imap-get-quota.xml Mon Jan 23 01:48:07 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.13 $ --> +<!-- $Revision: 1.14 $ --> <!-- splitted from ./en/functions/imap.xml, last change in rev 1.2 --> <refentry id="function.imap-get-quota"> <refnamediv> @@ -44,7 +44,7 @@ <programlisting role="php"> <![CDATA[ <?php -$mbox = imap_open("{your.imap.host}", "mailadmin", "password", OP_HALFOPEN) +$mbox = imap_open("{imap.example.org}", "mailadmin", "password", OP_HALFOPEN) or die("can't connect: " . imap_last_error()); $quota_value = imap_get_quota($mbox, "user.kalowsky"); @@ -79,7 +79,7 @@ <programlisting role="php"> <![CDATA[ <?php -$mbox = imap_open("{your.imap.host}", "mailadmin", "password", OP_HALFOPEN) +$mbox = imap_open("{imap.example.org}", "mailadmin", "password", OP_HALFOPEN) or die("can't connect: " . imap_last_error()); $quota_values = imap_get_quota($mbox, "user.kalowsky"); http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/imap/functions/imap-get-quotaroot.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc/en/reference/imap/functions/imap-get-quotaroot.xml diff -u phpdoc/en/reference/imap/functions/imap-get-quotaroot.xml:1.5 phpdoc/en/reference/imap/functions/imap-get-quotaroot.xml:1.6 --- phpdoc/en/reference/imap/functions/imap-get-quotaroot.xml:1.5 Thu Dec 18 17:44:50 2003 +++ phpdoc/en/reference/imap/functions/imap-get-quotaroot.xml Mon Jan 23 01:48:07 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <refentry id="function.imap-get-quotaroot"> <refnamediv> <refname>imap_get_quotaroot</refname> @@ -43,7 +43,7 @@ <programlisting role="php"> <![CDATA[ <?php -$mbox = imap_open("{your.imap.host}", "kalowsky", "password", OP_HALFOPEN) +$mbox = imap_open("{imap.example.org}", "kalowsky", "password", OP_HALFOPEN) or die("can't connect: " . imap_last_error()); $quota = imap_get_quotaroot($mbox, "INBOX"); http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/imap/functions/imap-getmailboxes.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc/en/reference/imap/functions/imap-getmailboxes.xml diff -u phpdoc/en/reference/imap/functions/imap-getmailboxes.xml:1.7 phpdoc/en/reference/imap/functions/imap-getmailboxes.xml:1.8 --- phpdoc/en/reference/imap/functions/imap-getmailboxes.xml:1.7 Fri Jul 1 13:07:48 2005 +++ phpdoc/en/reference/imap/functions/imap-getmailboxes.xml Mon Jan 23 01:48:07 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <!-- splitted from ./en/functions/imap.xml, last change in rev 1.2 --> <refentry id="function.imap-getmailboxes"> <refnamediv> @@ -81,10 +81,10 @@ <programlisting role="php"> <![CDATA[ <?php -$mbox = imap_open("{your.imap.host}", "username", "password", OP_HALFOPEN) +$mbox = imap_open("{imap.example.org}", "username", "password", OP_HALFOPEN) or die("can't connect: " . imap_last_error()); -$list = imap_getmailboxes($mbox, "{your.imap.host}", "*"); +$list = imap_getmailboxes($mbox, "{imap.example.org}", "*"); if (is_array($list)) { foreach ($list as $key => $val) { echo "($key) "; http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/imap/functions/imap-list.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc/en/reference/imap/functions/imap-list.xml diff -u phpdoc/en/reference/imap/functions/imap-list.xml:1.5 phpdoc/en/reference/imap/functions/imap-list.xml:1.6 --- phpdoc/en/reference/imap/functions/imap-list.xml:1.5 Fri Jul 1 13:07:48 2005 +++ phpdoc/en/reference/imap/functions/imap-list.xml Mon Jan 23 01:48:07 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <refentry id="function.imap-list"> <refnamediv> <refname>imap_list</refname> @@ -24,10 +24,10 @@ <programlisting role="php"> <![CDATA[ <?php -$mbox = imap_open("{your.imap.host}", "username", "password", OP_HALFOPEN) +$mbox = imap_open("{imap.example.org}", "username", "password", OP_HALFOPEN) or die("can't connect: " . imap_last_error()); -$list = imap_list($mbox, "{your.imap.host}", "*"); +$list = imap_list($mbox, "{imap.example.org}", "*"); if (is_array($list)) { foreach ($list as $val) { echo imap_utf7_decode($val) . "<br />\n"; http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/imap/functions/imap-mailboxmsginfo.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc/en/reference/imap/functions/imap-mailboxmsginfo.xml diff -u phpdoc/en/reference/imap/functions/imap-mailboxmsginfo.xml:1.4 phpdoc/en/reference/imap/functions/imap-mailboxmsginfo.xml:1.5 --- phpdoc/en/reference/imap/functions/imap-mailboxmsginfo.xml:1.4 Mon Dec 15 16:51:13 2003 +++ phpdoc/en/reference/imap/functions/imap-mailboxmsginfo.xml Mon Jan 23 01:48:07 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/imap.xml, last change in rev 1.33 --> <refentry id="function.imap-mailboxmsginfo"> <refnamediv> @@ -72,7 +72,7 @@ <![CDATA[ <?php -$mbox = imap_open("{your.imap.host}INBOX", "username", "password") +$mbox = imap_open("{imap.example.org}INBOX", "username", "password") or die("can't connect: " . imap_last_error()); $check = imap_mailboxmsginfo($mbox); http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/imap/functions/imap-open.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc/en/reference/imap/functions/imap-open.xml diff -u phpdoc/en/reference/imap/functions/imap-open.xml:1.9 phpdoc/en/reference/imap/functions/imap-open.xml:1.10 --- phpdoc/en/reference/imap/functions/imap-open.xml:1.9 Fri Jul 1 13:07:48 2005 +++ phpdoc/en/reference/imap/functions/imap-open.xml Mon Jan 23 01:48:07 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> <!-- splitted from ./en/functions/imap.xml, last change in rev 1.2 --> <refentry id="function.imap-open"> <refnamediv> @@ -244,10 +244,10 @@ <programlisting role="php"> <![CDATA[ <?php -$mbox = imap_open("{your.imap.host:143}", "username", "password"); +$mbox = imap_open("{imap.example.org:143}", "username", "password"); echo "<h1>Mailboxes</h1>\n"; -$folders = imap_listmailbox($mbox, "{your.imap.host:143}", "*"); +$folders = imap_listmailbox($mbox, "{imap.example.org:143}", "*"); if ($folders == false) { echo "Call failed<br />\n"; http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/imap/functions/imap-ping.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc/en/reference/imap/functions/imap-ping.xml diff -u phpdoc/en/reference/imap/functions/imap-ping.xml:1.5 phpdoc/en/reference/imap/functions/imap-ping.xml:1.6 --- phpdoc/en/reference/imap/functions/imap-ping.xml:1.5 Fri Sep 3 18:43:59 2004 +++ phpdoc/en/reference/imap/functions/imap-ping.xml Mon Jan 23 01:48:07 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/imap.xml, last change in rev 1.2 --> <refentry id="function.imap-ping"> <refnamediv> @@ -28,7 +28,7 @@ <![CDATA[ <?php -$imap = imap_open("{your.imap.host}", "mailadmin", "password"); +$imap = imap_open("{imap.example.org}", "mailadmin", "password"); // after some sleeping if (!imap_ping($imap)) { http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/imap/functions/imap-reopen.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc/en/reference/imap/functions/imap-reopen.xml diff -u phpdoc/en/reference/imap/functions/imap-reopen.xml:1.7 phpdoc/en/reference/imap/functions/imap-reopen.xml:1.8 --- phpdoc/en/reference/imap/functions/imap-reopen.xml:1.7 Mon Jan 23 01:19:28 2006 +++ phpdoc/en/reference/imap/functions/imap-reopen.xml Mon Jan 23 01:48:07 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <!-- splitted from ./en/functions/imap.xml, last change in rev 1.2 --> <refentry id="function.imap-reopen"> <refnamediv> @@ -55,9 +55,9 @@ <programlisting role="php"> <![CDATA[ <?php -$mbox = imap_open("{mailget.mysql.com:143/novalidate-cert}INBOX", "hholzgraefe", "nomore6nomore6") or die(join(", ", imap_errors())); +$mbox = imap_open("{imap.example.org:143}INBOX", "username", "password") or die(join(", ", imap_errors())); // ... -imap_reopen($mbox, "{mailget.mysql.com:143}Inbox.Sent") or die(join(", ", imap_errors())); +imap_reopen($mbox, "{imap.example.org:143}INBOX.Sent") or die(join(", ", imap_errors())); // .. ?> ]]> http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/imap/functions/imap-set-quota.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc/en/reference/imap/functions/imap-set-quota.xml diff -u phpdoc/en/reference/imap/functions/imap-set-quota.xml:1.7 phpdoc/en/reference/imap/functions/imap-set-quota.xml:1.8 --- phpdoc/en/reference/imap/functions/imap-set-quota.xml:1.7 Fri Apr 22 15:39:27 2005 +++ phpdoc/en/reference/imap/functions/imap-set-quota.xml Mon Jan 23 01:48:07 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <!-- splitted from ./en/functions/imap.xml, last change in rev 1.2 --> <refentry id="function.imap-set-quota"> <refnamediv> @@ -42,7 +42,7 @@ <programlisting role="php"> <![CDATA[ <?php -$mbox = imap_open("{your.imap.host:143}", "mailadmin", "password"); +$mbox = imap_open("{imap.example.org:143}", "mailadmin", "password"); if (!imap_set_quota($mbox, "user.kalowsky", 3000)) { echo "Error in setting quota\n"; http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/imap/functions/imap-setflag-full.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc/en/reference/imap/functions/imap-setflag-full.xml diff -u phpdoc/en/reference/imap/functions/imap-setflag-full.xml:1.9 phpdoc/en/reference/imap/functions/imap-setflag-full.xml:1.10 --- phpdoc/en/reference/imap/functions/imap-setflag-full.xml:1.9 Wed Aug 18 14:15:17 2004 +++ phpdoc/en/reference/imap/functions/imap-setflag-full.xml Mon Jan 23 01:48:07 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> <!-- splitted from ./en/functions/imap.xml, last change in rev 1.2 --> <refentry id="function.imap-setflag-full"> <refnamediv> @@ -43,7 +43,7 @@ <programlisting role="php"> <![CDATA[ <?php -$mbox = imap_open("{your.imap.host:143}", "username", "password") +$mbox = imap_open("{imap.example.org:143}", "username", "password") or die("can't connect: " . imap_last_error()); $status = imap_setflag_full($mbox, "2,5", "\\Seen \\Flagged"); http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/imap/functions/imap-status.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc/en/reference/imap/functions/imap-status.xml diff -u phpdoc/en/reference/imap/functions/imap-status.xml:1.8 phpdoc/en/reference/imap/functions/imap-status.xml:1.9 --- phpdoc/en/reference/imap/functions/imap-status.xml:1.8 Mon Mar 8 09:18:44 2004 +++ phpdoc/en/reference/imap/functions/imap-status.xml Mon Jan 23 01:48:07 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <!-- splitted from ./en/functions/imap.xml, last change in rev 1.2 --> <refentry id="function.imap-status"> <refnamediv> @@ -68,10 +68,10 @@ <programlisting role="php"> <![CDATA[ <?php -$mbox = imap_open("{your.imap.host}", "username", "password", OP_HALFOPEN) +$mbox = imap_open("{imap.example.org}", "username", "password", OP_HALFOPEN) or die("can't connect: " . imap_last_error()); -$status = imap_status($mbox, "{your.imap.host}INBOX", SA_ALL); +$status = imap_status($mbox, "{imap.example.org}INBOX", SA_ALL); if ($status) { echo "Messages: " . $status->messages . "<br />\n"; echo "Recent: " . $status->recent . "<br />\n";