test_pop3.php(as the current mainstream development language)
Test for Manuel Lemoss php (As the current mainstream development language) POP3 classrequire("pop3.php
(As the current mainstream development language)");
$user="user";
$password="passwd";
$apop=0;
$pop3_connection=new pop3_class;
$pop3_connection->hostname="mail.xiaocui.com";
if(($error=$pop3_connection->Open())=="")
{
echo "
Connected to the POP3 server "$pop3_connection->hostname".
";
if(($error=$pop3_connection->Login($user,$password,$apop))=="")
{
echo "
User "$ user" logged in.
";
if(($error=$pop3_connection->Statistics(&$messages,&$size))=="")
{
echo "
There are <b> ;$messages</b> messages in the mail box with a total of <b>$size</b> bytes.
“; ),$message=0;$message
echo "Message ",Key($result)," - ",$result[ Key($result)]," bytes.
";
:
---Message headers starts below---
";
for ($line=0; ;
";
echo "---Message headers ends above---
---Message body starts below---
";
for ($line=0; ;
";
http://www.bkjia.com/PHPjc/509051.html
www.bkjia.com
true
http: //www.bkjia.com/PHPjc/509051.html
TechArticle
test_pop3.php (as the current mainstream development language) HTML HEAD TITLETest for Manuel Lemoss php (as the current mainstream development language) Mainstream development languages) POP3 class/TITLE /HEAD BODY ? require("pop3.php (as...
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn