你是在WIN环境下运行吗?WIN环境好象是不行的,MAIL是调用系统发送EMAIL(如SENDMAIL)的

解决方案 »

  1.   

    装上option pack4
    选择smtp server
    试试
      

  2.   

    邮件服务器要在PHP.INI文件中设置:找到以下的这段话:
    [mail function]
    SMTP=localhost ;for win32 only
    [email protected] ;for win32 only
    sendmail_path= ;for unix only, may supply arguments as well (default is sendmail -t)我不用多说了,改一下,存个盘就完了。如果你的机器在网上,SMTP=smtp.263.net照样可以用。
      

  3.   

    邮件服务器要在PHP3.INI文件中设置:找到以下的这段话:
    [mail function]
    SMTP=localhost ;for win32 only
    [email protected] ;for win32 only
    sendmail_path= ;for unix only, may supply arguments as well (default is sendmail -t)我不用多说了,改一下,存个盘就完了。如果你的机器在网上,SMTP=smtp.263.net照样可以用。