Date: 07/29/00
- Next message: Egon Schmid: "[PHP-DOC] cvs: phpdoc /de preface.xml"
- Previous message: Egon Schmid: "[PHP-DOC] cvs: phpdoc /en/functions strings.xml"
- Next in thread: Jani Taskinen: "[PHP-DOC] cvs: phpdoc /en/functions imap.xml"
- Maybe reply: Jani Taskinen: "[PHP-DOC] cvs: phpdoc /en/functions imap.xml"
- Maybe reply: Jani Taskinen: "[PHP-DOC] cvs: phpdoc /en/functions imap.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
sniper Sat Jul 29 07:22:27 2000 EDT
Modified files:
/phpdoc/en/functions imap.xml
Log:
Moved imap_mailboxmsginfo() example code to right place + updated
imap_mailboxmsginfo() documentation.
Index: phpdoc/en/functions/imap.xml
diff -u phpdoc/en/functions/imap.xml:1.19 phpdoc/en/functions/imap.xml:1.20
--- phpdoc/en/functions/imap.xml:1.19 Sat Jul 8 03:52:07 2000
+++ phpdoc/en/functions/imap.xml Sat Jul 29 07:22:27 2000
@@ -164,29 +164,6 @@
<para>
See also <function>imap_binary</function>.
</para>
- <para>
- <example>
- <title><function>imap_mailboxmsginfo</function> example</title>
- <programlisting role="php">
-$mbox = imap_open("{your.imap.host}INBOX","username", "password")
- || die("can't connect: ".imap_last_error());
-
-$check = imap_mailboxmsginfo($mbox);
-
-if($check) {
- print "Date: " . $check->Date ."<br>\n" ;
- print "Driver: " . $check->Driver ."<br>\n" ;
- print "Mailbox: " . $check->Mailbox ."<br>\n" ;
- print "Messages: ". $check->Nmsgs ."<br>\n" ;
- print "Recent: " . $check->Recent ."<br>\n" ;
- print "Size: " . $check->Size ."<br>\n" ;
-} else
- print "imap_check() failed: ".imap_lasterror(). "<br>\n";
-
-imap_close($mbox);
- </programlisting>
- </example>
- </para>
</refsect1>
</refentry>
@@ -1681,12 +1658,46 @@
<entry>number of unread messages</entry>
</row>
<row>
+ <entry>Deleted</entry>
+ <entry>number of deleted messages</entry>
+ </row>
+ <row>
<entry>Size</entry>
<entry>mailbox size</entry>
</row>
</tbody>
</tgroup>
</table>
+ </para>
+ <para>
+ <example>
+ <title><function>imap_mailboxmsginfo</function> example</title>
+ <programlisting role="php">
+<?php
+
+$mbox = imap_open("{your.imap.host}INBOX","username", "password")
+ || die("can't connect: ".imap_last_error());
+
+$check = imap_mailboxmsginfo($mbox);
+
+if($check) {
+ print "Date: " . $check->Date ."<br>\n" ;
+ print "Driver: " . $check->Driver ."<br>\n" ;
+ print "Mailbox: " . $check->Mailbox ."<br>\n" ;
+ print "Messages: ". $check->Nmsgs ."<br>\n" ;
+ print "Recent: " . $check->Recent ."<br>\n" ;
+ print "Unread: " . $check->Unread ."<br>\n" ;
+ print "Deleted: " . $check->Deleted ."<br>\n" ;
+ print "Size: " . $check->Size ."<br>\n" ;
+} else {
+ print "imap_check() failed: ".imap_lasterror(). "<br>\n";
+}
+
+imap_close($mbox);
+
+?>
+ </programlisting>
+ </example>
</para>
</refsect1>
</refentry>
- Next message: Egon Schmid: "[PHP-DOC] cvs: phpdoc /de preface.xml"
- Previous message: Egon Schmid: "[PHP-DOC] cvs: phpdoc /en/functions strings.xml"
- Next in thread: Jani Taskinen: "[PHP-DOC] cvs: phpdoc /en/functions imap.xml"
- Maybe reply: Jani Taskinen: "[PHP-DOC] cvs: phpdoc /en/functions imap.xml"
- Maybe reply: Jani Taskinen: "[PHP-DOC] cvs: phpdoc /en/functions imap.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

