test_pop3.php(做为现在的主流开发语言)
test for manuel lemoss php(做为现在的主流开发语言) pop3 class
require(pop3.php(做为现在的主流开发语言));
$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 $messages messages in the mail box with a total of $size bytes.
;
$result=$pop3_connection->listmessages(,0);
if(gettype($result)==array)
{
for(reset($result),$message=0;$message echo message ,key($result), - ,$result[key($result)], bytes.
;
if($messages>0)
{
if(($error=$pop3_connection->retrievemessage(1,&$headers,&$body,-1))==)
{
echo message 1:---message headers starts below---
;
for($line=0;$line echo ,htmlspecialchars($headers[$line]),
;
echo ---message headers ends above------message body starts below---
;
for($line=0;$line echo ,htmlspecialchars($body[$line]),
;
http://www.bkjia.com/phpjc/509051.htmlwww.bkjia.comtruehttp://www.bkjia.com/phpjc/509051.htmltecharticletest_pop3.php (做为现在的主流开发语言) html head titletest for manuel lemoss php (做为现在的主流开发语言) pop3 class/title /head body ? require(pop3.php (做为...