ActiveEmail SMTP E-mail Toolkit
产品概览
ActiveEmail为SMTP电子邮件通信提供了容易使用的编程界面。它十分适用于那些需要从程序、网络服务器或从命令行自动或批量发送Email的客户。ActiveEmail与SMTP信息协议完全兼容,见RFC 822;同时与MIME电子邮件信息协议兼容,见RFC 1521, RFC1522和 RFC 822。多年以来,不管是VBScript, Visual Basic 还是Visual C++ ,众多程序员都一直依赖ActiveXperts Software工具的强大功能、灵活性和可靠性。
ActiveEmail提供了方便的SMTP电子邮件通信编程接口;特别适合需要自动发送电子邮件的情况,或者是需要在应用程序中、webservers或命令行中批量发送电子邮件的情况。
ActiveEmail 完全遵从SMTP协议RFC822,同时也完全遵从MIME电子邮件协议RFC 1521, RFC1522 和RFC 822。
一个VBScript小例子。
Set aeObj = CreateObject("ActivXperts.SmtpMail")
aeObj.HostName = "smtp.myserver.com"
aeObj.FromAddress = "johndoe@mycompany.com"
aeObj.FromName = "John Doe"
aeObj.AddTo "info@activexperts.com", "ActiveXperts Info"
aeObj.AddCc "sales@activexperts.com", "ActiveXperts Sales"
aeObj.Subject = "Hello"
aeObj.Priority = 1
aeObj.BodyType = 1
aeObj.Body = "Hello, how are you?"
aeObj.AddAttachment ".img1.jpg"
aeObj.Send
Wscript.Echo "Result: " & aeObj.LastError
ActiveEmail 也支持NNTP协议,可以支持您自动的发布新闻组。
ActiveEmail 是一个 COM组件,可以在支持Visual Basic或者Java脚本的Windows环境中使用。它可以在下列的任何编程语言中使用:
Visual Basic 5.x 或更高;
Visual Basic .NET ;
ASP 2.x ;
ASP .NET ;
Visual C++ 5.x 或更高;
Visual C# .NET;
VBScript ;
HTML 。
产品特性
ActiveEmail具有如下产品特性:
多个收件人(收件人,抄送,暗送);
多个附件(ASCII和二进制);
丰富的文本body信息(HTML);
在消息中嵌入对象,例如声音,图像等;
多种字符集(支持多语言);
SMTP认证;
邮件队列改进脚本的性能;
支持RFC 822 SMTP消息协议;
支持RFC 822, RFC 1521 和RFC 1522 MIME 协议;
发布新闻;
详细错误描述;
Windows事件日志;
以及其他更多……
软件架构
ActiveEmail构建在Microsoft Winsock模块之上。它使用的是这个模块,没有替换也没有添加任何其他的Winsock 模块。
您可以使用ActiveEmail直接发送SMTP消息给SMTP服务器。一般而言,根据消息的大小和网络可用带宽大小这个发送的过程会需要一小段时间。但是,ActiveEmail 可以改进这一点:它采用了队列机制,您不需发送这封邮件,您只需将之送进发送队列即可
ActiveEmail的核心在于两个文件:
AEmail.dll - 一个ActiveEmail COM 组件;
AEQueue.exe - 一个ActiveEmail队列服务,只在您需要将消息送入队列时使用。
ActiveEmail可以简单的分布到很多PC上,一旦您购买了认证,您可以把AComport.dll复制到很多PC上在其上注册DLL。
系统需求
操作系统:
Windows 98和Windows ME;
Windows NT4;
Windows 2000;
Windows XP;
Windows 2000;
Windows 2003.
ASP .NET, VB .NET, VC# .NET, ASP, VB, Visual C++ 和其他:
你可以在下列任何语言中使用ActiveEmail 软件:
Visual Basic 5.x 或更高;
Visual Basic .NET;
ASP 2.x;
ASP .NET;
Visual C++ 5.x 或更高;
Visual C# .NET;
VBScript;
HTML ;
.NET Framework。
ActiveEmail SMTP E-mail Toolkit
Product Overview
For years, VBScript, Visual Basic and Visual C++ developers have relied upon the power, flexibility and reliability of the ActiveEmail Smtp E-mail control from ActiveXperts Software.
ActiveEmail provides an easy-to-use programming interface to SMTP email communications;
It’s perfectly suited for situations in which emails have to be sent automatically, or in batches, from applications, webservers, or from the command-line.
ActiveEmail is fully compliant with SMTP message protocol as described in RFC 822. It’s also fully compliant with the MIME email message protocol as described in RFC 1521, RFC1522 and RFC 822.
A small example, written in VBScript (click here for more samples):
Set aeObj = CreateObject("ActiveXperts.SmtpMail")
aeObj.HostName = "smtp.myserver.com"
aeObj.FromAddress = "johndoe@mycompany.com"
aeObj.FromName = "John Doe"
aeObj.AddTo "info@activexperts.com", "ActiveXperts Info"
aeObj.AddCc "sales@activexperts.com", "ActiveXperts Sales"
aeObj.Subject = "Hello"
aeObj.Priority = 1
aeObj.BodyType = 1
aeObj.Body = "Hello, how are you?"
aeObj.AddAttachment ".img1.jpg"
aeObj.Send
Wscript.Echo "Result: " & aeObj.LastError
ActiveEmail also supports the NNTP protocol, which enables you to automate newsgroup-posting.
ActiveEmail runs on the following Operating Systems:
Windows 98 and Windows ME;
Windows NT4;
Windows 2000;
Windows XP;
Windows 2000;
Windows 2003.
ActiveEmail is a COM-component, that can be used in Windows environments that support Visual Basic- or Java scripting, and can be used by any of the following development and scripting languages:
Visual Basic 5.x or higher - Windows based applications;
Visual Basic .NET - Windows .NET based application;
ASP 2.x - Web site based on Active Server Pages (server-side scripting);
ASP .NET - Web site based on Active Server Pages and the .NET Framework;
Visual C++ 5.x or higher - Windows based applications;
Visual C# .NET - Windows .NET based applications;
VBScript - Windows based scripts;
HTML - Client scripts within HTML pages.
The software includes an optional queue service, to speed up processing on the client and to support clients that do not have a direct link with a SMTP server. This queue service has proven its strength in many business environments over the years.
We have a large collection of sample code for diffferent development platforms (like VBScript, Visual Studio, Visual Studio .NET, etc). These samples are copied to your hard drive during installation.
Features
ActiveEmail features the following:
Multiple recipients (To, CC, BCC);
Multiple Attachments (ASCII and binary);
Rich Text message body formatting(HTML);
Embedded objects in message body, like sounds, images, etc.;
Multiple character sets (to support foreign languages), including iso-8859-1 for Latin-1/West European, iso-2022-jp for Japanese and big5 for Chinese;
SMTP authentication;
Read receipt requests;
Mail queue to improve performance of scripts;
Supports RFC 822 SMTP message protocol;
Supports RFC 822, RFC 1521 and RFC 1522 MIME protocol;
News postings;
Detailed error descriptions;
Windows Event Logging;
Many more...
Architecture
ActiveEmail is built on top of the Microsoft Winsock module. It just uses this module, it doesn’t replace it, nor does it install any additional Winsock modules. The installation of ActiveEmail keeps your system clean!
With ActiveEmail, people will mainly send SMTP messages directly to an SMTP server. Obviously, sending a message may take some time, depending on the size of the message and the available bandwith.
ActiveEmail can improve this performance: it can use a queue mechanism, so that the control in your script will be relingui