You are here:

ActiveXperts.com > ActiveEmail

ActivEmail SMTP/POP3 Toolkit Add SMTP/POP3 capabilities to any Windows or .NET application

Quicklinks


Add SMTP/POP3 capabilities to any Windows or .NET application

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.

How to use ActiveEmail Visual Studio.NET Web Application GUI Application Console Application
Startup screen after installation Use ActiveEmail with MS Visual Studio ActiveEmail in a .NET web application ActiveEmail in a .NET GUI forms application ActiveEmail in a console application

ActiveEmail Toolkit features the following:

  • Send messages using SMTP;
  • Receive messages using POP3;
  • Secure SMTP (TLS/SSL);
  • Secure POP3 (TLS/SSL);
  • 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 includes samples for many development tools, including:

System Requirements

ActiveEmail is available as a 32-bit component and as a 64-bit component (both part of the product):

  • AEmail.dll - 32-bit component;
  • AEmailx64.dll - 64-bit component.

ActiveEmail runs on the following Operating Systems:

  • Windows 2008 (32 and 64 bit);
  • Windows 2003 (32 and 64 bit);
  • Windows 2000 Server and Professional (32 bit only);
  • Windows 7 (32 and 64 bit);
  • Windows Vista (32 and 64 bit);
  • Windows XP (32 and 64 bit).

Code Snippets and Sample Applications

The following code snippets (VBScript) illustrate how to use ActiveEmail.

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

Licensing

  Standard License
AX002-0010
Professional License
AX002-0012
Distribution License
AX002-0020
Send e-mail messages via SMTPXXX
Receive e-mail messages via POP3-XX
Use component on any computer in your organization-XX
Distribution of component--X

More information

To read more about ActiveEmail, use one of the following links: