|
Download ActiveEmail SMTP/POP3 Toolkit 3.0  (4433 KB - .exe file)
Download Manual  (190 KB - .htm file)
ActiveEmail - Product Overview
ActiveEmail provides an easy-to-use programming interface to SMTP- and POP3 email communications.
It's perfectly suited for situations in which e-mails need to be sent/received automatically, in batches, from custom applications, webservers, or from the command-line.
ActiveEmail Toolkit features the following:
- Send messages using SMTP;
- Receive messages using POP3;
- 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.;
- Unicode support;
- Multiple character sets (to support foreign languages), including Arabic, Japanese, Chinese, Korean, Turkish, Russian, Hebrew, Vietnames and many more;
- SMTP authorization, supporting AUTH PLAIN, AUTH LOGIN and AUTH CRAM-MD5 login algorithms;
- POP3 authorization, supporting Plain text and APOP3 authorization;
- POP3 header download;
- Load and save (import and export) MIME (.mim) files;
- Mailqueue to improve performance of scripts;
- Support for 7/8 bit, quoted-printable and base64 encoding;
- Detailed error descriptions;
- Advanced tracing (for troubleshooting purposes);
- Windows Event Logging;
- Samples included for various development platforms:
Visual Basic, Visual Basic .NET, Visual C++,
Visual C# .NET, ASP, ASP .NET, Delphi, PHP and more.
ActiveEmail runs on the following Operating Systems:
- Windows 2008;
- Windows Vista;
- Windows 2003;
- Windows XP;
- Windows 2000.
Code Snippets and Sample Applications
The following code snippets (VBScript) illustrate how to use ActiveEmail.
For more samples, including Visual C++, Visual Basic, Visual Basic .NET, Visual C Sharp .NET, ASP, ASP .NET and PHP, please check the Online ActiveEmail Samples.
SMTP: Send a plain text e-mail to a single recipient
Set objSmtpServer = CreateObject("ActiveXperts.SmtpServer") ' Create SMTP server object
Set objSmtpMail = CreateObject("ActiveXperts.SmtpMail") ' Create mail object
objSmtpServer.Connect( "smtp.mydomain.com" )
Wscript.Echo "Connect, result: " & objSmtpServer.LastError
' Set mail properties
objSmtpMail.FromAddress = "sender@mydomain.com" ' Sender's e-mail address
objSmtpMail.FromName = "ActiveEmail Demo" ' Sender's displayname
objSmtpMail.Subject = "ActiveEmail Message" ' Subject
objSmtpMail.Body = "Hello, world" ' Body
objSmtpMail.AddTo "recipient1@myrecipients.com", "Recipient 1" ' Add a recipient
objSmtpServer.Send( objSmtpMail ) ' Send now
WScript.Echo "Send, result: " & objSmtpServer.LastError
WScript.Echo "Last response: " & objSmtpServer.LastSmtpResponse
End If
objSmtpServer.Disconnect ' Finally, disconnect
SMTP: Send a richt text (HTML) high priority e-mail to multiple recipients
Set objSmtpServer = CreateObject("ActiveXperts.SmtpServer") ' Create SMTP server object
Set objSmtpMail = CreateObject("ActiveXperts.SmtpMail") ' Create mail object
objSmtpServer.Connect( "smtp.mydomain.com" )
Wscript.Echo "Connect, result: " & objSmtpServer.LastError
' Set mail properties
objSmtpMail.FromAddress = "sender@mydomain.com" ' Sender's e-mail address
objSmtpMail.FromName = "ActiveEmail Demo" ' Sender's displayname
objSmtpMail.Subject = "ActiveEmail Message" ' Subject
objSmtpMail.Priority = objConstants.asMESSAGE_PRIORITY_HIGH ' High priority
objSmtpMail.BodyType = objConstants.asMESSAGE_BODY_PLAIN ' RTF/HTML body format
objSmtpMail.Body = "Hello, <b>world</b><br>Bye!" ' Body (includes HTML tags)
objSmtpMail.AddTo "recipient1@myrecipients.com", "Recipient 1" ' Add two normal recipients
objSmtpMail.AddTo "recipient2@myrecipients.com", "Recipient 2"
objSmtpMail.AddCc "cc1@myrecipients.com", "Recipient CC1" ' Add a CC recipient
objSmtpMail.AddBcc "bcc1@myrecipients.com", "Recipient BCC1" ' Add a BCC recipient
objSmtpServer.Send( objSmtpMail ) ' Send now
WScript.Echo "Send, result: " & objSmtpServer.LastError
WScript.Echo "Last response: " & objSmtpServer.LastSmtpResponse
End If
objSmtpServer.Disconnect ' Finally, disconnect
SMTP: Load a MIME message and send the e-mail
Set objSmtpServer = CreateObject("ActiveXperts.SmtpServer") ' Create SMTP server object
Set objSmtpMail = CreateObject("ActiveXperts.SmtpMail") ' Create mail object
objSmtpServer.Connect( "smtp.mydomain.com" )
Wscript.Echo "Connect, result: " & objSmtpServer.LastError
' Load mail properties
objSmtpMail.LoadMIME( "c:\mye-mail.mim" ) ' Load prop's, recip's & attachments
objSmtpServer.Send( objSmtpMail ) ' Send now
WScript.Echo "Send, result: " & objSmtpServer.LastError
WScript.Echo "Last response: " & objSmtpServer.LastSmtpResponse
End If
objSmtpServer.Disconnect ' Finally, disconnect
POP3: Receive the first 3 messages in a mailbox
Set objPop3Server = CreateObject("ActiveXperts.Pop3Server") ' Create Pop3Server object
objPop3Server.Connect( "pop3.mydomain.com", "userid", "passwd" ) ' Connect to POP3 server and login
Wscript.Echo "Connect, result: " & objPop3Server.LastError
numMessages = objPop3Server.CountMessages() ' Count the messages in the mailbox
WScript.Echo numMessages & " new message(s) in mailbox."
For i = 1 to 3 ' Iterate over first 3 messages
Set objPop3Mail = objPop3Server.GetEmail( i ) ' Get e-mail
WScript.Echo "MessageID : " & objPop3Mail.ID ' Show e-mail information
WScript.Echo " Size : " & objPop3Mail.Size
WScript.Echo " FromAddress : " & objPop3Mail.FromAddress
WScript.Echo " FromName : " & objPop3Mail.FromName
WScript.Echo " Organization : " & objPop3Mail.Organization
WScript.Echo " Reply Address : " & objPop3Mail.ReplyAddress
WScript.Echo " Read Receipt Address : " & objPop3Mail.ReadReceiptAddress
WScript.Echo " ToAddress : " & objPop3Mail.ToAddress
WScript.Echo " CcAddress : " & objPop3Mail.CcAddress
WScript.Echo " Priority : " & objPop3Mail.Priority
WScript.Echo " Date : " & objPop3Mail.Date
WScript.Echo " Subject : " & objPop3Mail.Subject
WScript.Echo " BodyType : " & objPop3Mail.BodyType
WScript.Echo " Body : " & Left ( objPop3Mail.Body, InStr ( objPop3Mail.Body, vbCrLf ) )
WScript.Echo " Attachments : " & objPop3Mail.CountAttachments & vbCrLf
numAttachments = objPop3Mail.CountAttachments
For i = 1 to numAttachments ' Iterate over all attachments
WScript.Echo "Attachment Name : " & objPop3Mail.GetAttachmentName(i)
WScript.Echo "Attachment Size : " & objPop3Mail.GetAttachmentSize(i)
Next
Next
objPop3Server.Disconnect ' Disconnect
Samples applications (including source)
ActiveEmail toolkit is delivered with two full featured sample applications (source code included for various development platforms):
- SMTP Demo - to send e-mails to recipient, with support for: forgeign language character sets, attachments, priorities, etc.
- POP3 Demo - to receive e-mails, with support for: forgeign language character sets, attachments, priorities, etc.
Click on the picture to view a fullsize screen shot of the applications:
| |
 Send e-mail message via SMTP |
 Receive e-mail messages via POP3 |
ActiveEmail is a ActiveX/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 .NET - Windows .NET based applications. Requires Microsoft Visual Studio .NET. More...
- Visual C# .NET - Windows .NET based applications. Requires Microsoft Visual Studio .NET. More...
- ASP .NET (VB) - Web site based on Active Server Pages and the .NET Framework. Requires Internet Information Services (IIS). More...
- ASP .NET (CSharp) - Web site based on Active Server Pages and the .NET Framework. Requires Internet Information Services (IIS). More...
- Visual Basic 5.x/6.x - Requires Microsoft Visual Studio 5.x/6.x. More...
- ASP 2.x - Web site based on Active Server Pages (server-side scripting). Requires Internet Information Services (IIS). More...
- Visual C++ 5.x/6.x - Windows based applications. More...
- VBScript - Windows based scripts. More...
- HTML - Client scripts within HTML pages. More...
- Delphi 7.x or higher. More...
- PHP More....
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.
Architecture
ActiveEmail is implemented as an ActiveX/COM object called AEMAIL.DLL.
It makes use of the Winsock modules of the Operating System.
ActiveEmail can be distributed easily to many PC's.
Once you have purchased the licenses, you copy the AEmail.dll to the PCs and register the DLL on that PC.
If you want to make use of the optional ActiveXperts Queue Server service (see below), one more component is installed: AEMAILQ.EXE (the actual Windows service file).
ActiveEmail Queue Server service - an optional component
Most customers directly communicate with an SMTP compliant server when using ActiveEmail's SMTP object.
There are two drawbacks of delivering directly to the SMTP server:
- Direct access to the SMTP server is required from the client;
- Sending emails from a client can take some time, depending on the size of the mail, the performance of the SMTP server and the network link.
ActiveEmail can overcome these problems, using a queue mechanism: the client application/script connects to a network share service and drops the email mime information in a file, and the control in the script or application is relinguished immediately.
The ActiveEmail Queue Service picks up the mime information from the network share and sends the email(s) to the smtp server.
To make use of queuing, the programmer should call the Queue function instead of the Send function.
The ActiveEmail Queue Service has enhanced logging capabilities.
Click here for more information about the ActiveXperts Queue Server service.
Standard License, Professional License, Distribution License
There are three different licenses for the ActiveEmail Toolkit: Standard License, Professional License and Distribution License:
|
|
|
|
Standard License
|
Professional License
|
Distribution License
|
|
Send e-mail messages via SMTP
|
X
|
X
|
X
|
|
Receive e-mail messages via POP3
|
-
|
X
|
X
|
|
Use it on any PC/Server in your organization
|
-
|
X
|
X
|
|
Distribution of component
|
-
|
-
|
X
|
|
Click here for detailed information about the License Schemes.
|
|