F
formater
Unregistered / Unconfirmed
GUEST, unregistred user!
不知有没人用过ArGoSoft Mail Server Plus(version 1.6.1.3)?http://www.argosoft.com
这是著名的POP3、SMTP服务器,支持Size Limit、Auto Responder、Relay、Web Mail等功能。
特别是支持Automation Objects,允许使用其它支持COM的工具对它完成如添加用户、修改密码、
收发Email等功能。它自带的VBScript例子如下:adduser.vbs
dim Users, User
' First, create and initialize the User object
set User=WScript.CreateObject("MailServerX.User")
User.UserName="joe"
User.Password="secret"
' Now, create the Users object, and add new user
set Users=WScript.CreateObject("MailServerX.Users")
Users.Add User
MsgBox "Now your server has " &
Users.Count &
" users"
这个例子在我的机器上运行成功,在Delphi和ASP中也能正确运行,但在PHP中却不能,如下:adduser.php
<?
$newuser=new COM("MailServerX.User") or die("Can't start MailServerX.User");
$users=new COM("MailServerX.Users") or die("Can't start MailServerX.Users");
$newuser->UserName="joe";
$newuser->Password="secret";
$users->Add($newuser);
?>
在浏览器上显示:HTTP 500 - 内部服务器错误 或者
PHP has encountered an Access Violation at 00000038
我的运行环境:Win98+PWS+PHP4.1(CGI模式)
这是著名的POP3、SMTP服务器,支持Size Limit、Auto Responder、Relay、Web Mail等功能。
特别是支持Automation Objects,允许使用其它支持COM的工具对它完成如添加用户、修改密码、
收发Email等功能。它自带的VBScript例子如下:adduser.vbs
dim Users, User
' First, create and initialize the User object
set User=WScript.CreateObject("MailServerX.User")
User.UserName="joe"
User.Password="secret"
' Now, create the Users object, and add new user
set Users=WScript.CreateObject("MailServerX.Users")
Users.Add User
MsgBox "Now your server has " &
Users.Count &
" users"
这个例子在我的机器上运行成功,在Delphi和ASP中也能正确运行,但在PHP中却不能,如下:adduser.php
<?
$newuser=new COM("MailServerX.User") or die("Can't start MailServerX.User");
$users=new COM("MailServerX.Users") or die("Can't start MailServerX.Users");
$newuser->UserName="joe";
$newuser->Password="secret";
$users->Add($newuser);
?>
在浏览器上显示:HTTP 500 - 内部服务器错误 或者
PHP has encountered an Access Violation at 00000038
我的运行环境:Win98+PWS+PHP4.1(CGI模式)