可以与vpopmail或vmgr(不大确定)http://www.inter7.com下有这些程序。

解决方案 »

  1.   

    --------------------------------------------------------------------------------
     Vmailmgr 邮件处理函数库 
    --------------------------------------------------------------------------------
     
    本函数库共有 5 个函数
    本函数需要 qmail 及 vmailmgr,可以到 http://www.qmail.org 及 http://www.qcc.sk.ca/~bguenter/distrib/vmailmgr/ 取得相关的资料及程序。 
    在使用时需要二个变量,分别为 domain 名字及密码,密码只有前八位数有效。例如<?php
    dl("php3_vmailmgr.so"); //载入动态函数库
    $vdomain="vdomain.com";
    $basepwd="password";
    // 以下为欲使用的 Vmailmgr 函数
    ?> 
    vm_adduser: 加入新用户。 
    vm_addalias: 加入新别名。 
    vm_passwd: 改变用户密码。 
    vm_delalias: 删除别名。 
    vm_deluser: 删除用户。 
      

  2.   

    刚才贴错了.下面这个是对的:)
    // direct initialization of the 'file' container 
    $log = new Log_file('log.txt', 'identity text');// initialization of the 'file' container through factory() 
    $log = Log::factory('file', 'log.txt', 'identity text');// initialization of the 'file' container through singleton()
    $log = &Log::singleton('file', 'log.txt', 'identity text');
    剩下的自己好好想想吧