cvs: peardoc /ja/package/networking/net-pop3 intro.xml
| From: | Tadashi Jokagi | Date: | Tue, 21 Mar 2006 06:24:35 +0000 |
| Subject: | cvs: peardoc /ja/package/networking/net-pop3 intro.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-7702@lists.php.net to get a copy of this message | ||
elf Tue Mar 21 06:24:35 2006 UTC
Modified files:
/peardoc/ja/package/networking/net-pop3 intro.xml
Log:
* translation updated.
http://cvs.php.net/viewcvs.cgi/peardoc/ja/package/networking/net-pop3/intro.xml?r1=1.4&r2=1.5&diff_format=u
Index: peardoc/ja/package/networking/net-pop3/intro.xml
diff -u peardoc/ja/package/networking/net-pop3/intro.xml:1.4
peardoc/ja/package/networking/net-pop3/intro.xml:1.5
--- peardoc/ja/package/networking/net-pop3/intro.xml:1.4 Tue Mar 21 06:21:53 2006
+++ peardoc/ja/package/networking/net-pop3/intro.xml Tue Mar 21 06:24:35 2006
@@ -1,5 +1,5 @@
-<!-- $Revision: 1.4 $ -->
-<!-- EN-Revision: 1.2 Maintainer: elf Status: ready -->
+<!-- $Revision: 1.5 $ -->
+<!-- EN-Revision: 1.3 Maintainer: elf Status: ready -->
<refentry id="package.networking.net-pop3.intro">
<refnamediv>
<refname>
@@ -34,40 +34,37 @@
<programlisting role="php">
<![CDATA[
include 'Net_POP3.php';
-
-/*
-* Create the class
-*/
+
$pop3 =& new Net_POP3();
-
+
/*
-* Connect to localhost on usual port
-* If not given, defaults are localhost:110
-*/
+ * Connect to localhost on usual port
+ * If not given, defaults are localhost:110
+ */
$pop3->connect('localhost', 110);
-
+
/*
* Login using username/password. APOP will
* be tried first if supported, then basic.
*/
$pop3->login('richard', 'Alien3');
-
+
/*
-* Get the raw headers of message 1
-*/
+ * Get the raw headers of message 1
+ */
echo '<h2>getRawHeaders()</h2>';
echo '<pre>' . htmlspecialchars($pop3->getRawHeaders(1)) .
'</pre>';
-
+
/*
-* Get structured headers of message 1
-*/
+ * Get structured headers of message 1
+ */
echo '<h2>getParsedHeaders()</h2> <pre>';
print_r($pop3->getParsedHeaders(1));
echo '</pre>';
-
+
/*
-* Get body of message 1
-*/
+ * Get body of message 1
+ */
echo '<h2>getBody()</h2>';
echo '<pre>' . htmlspecialchars($pop3->getBody(1)) . '</pre>';
/*
@@ -75,30 +72,27 @@
*/
echo '<h2>getNumMsg</h2>';
echo '<pre>' . $pop3->numMsg() . '</pre>';
-
+
/*
-* Get entire message
-*/
+ * Get entire message
+ */
echo '<h2>getMsg()</h2>';
echo '<pre>' . htmlspecialchars($pop3->getMsg(1)) . '</pre>';
-
+
/*
-* Get listing details of the maildrop
-*/
+ * Get listing details of the maildrop
+ */
echo '<h2>getListing()</h2>';
echo '<pre>';
print_r($pop3->getListing());
echo '</pre>';
-
+
/*
-* Get size of maildrop
-*/
+ * Get size of maildrop
+ */
echo '<h2>getSize()</h2>';
echo '<pre>' . $pop3->getSize() . '</pre>';
-
-/*
-* Disconnect
-*/
+
$pop3->disconnect();
]]>
</programlisting>