smtp-pop3-component SMTP/POP3 Toolkit Add SMTP/POP3 capabilities to any Windows or .NET application

Quicklinks


ACTIVEEMAIL SMTP E-MAIL TOOLKIT 2.3 RELEASE NOTES


INTRODUCTION

ActiveEmail SMTP E-mail Toolkit 2.3 is the newest version of the ActiveXperts ActiveEmail product.

Version 2.3 is a small feature update of version 2.2.

The mission of the product is to provide an easy-to-use programming interface to SMTP email communications.

The product runs on the Windows 2003/XP/2000/NT/98 platforms.

IMPORTANT: EXISTING USERS OF ACTIVEEMAIL MUST MAKE A SMALL MODIFICATION TO THEIR APPLICATIONS OR SCRIPTS TO MAKE USE OF THE NEW 2.3 VERSION (see below).


WHAT'S NEW IN ACTIVEEMAIL SMTP E-MAIL TOOLKIT 2.3

  • Logging - ActiveEmail now supports enhanced logging. When the LogFile property is set, the toolkit will write trace information to this log file. You can use the log file for troubleshooting purposes;
  • Performance - Improved performance when sending multiple e-mails in one batch;
  • Properties - The HostName, AccountName and AccountPassword properties do not exist anymore. The properties were used by the 'Send' function to connect to the SMTP server. Now, two new functions are introduced: 'Connect' and 'Disconnect'
  • Functions - Two new functions are introduces: Connect and Disconnect. Before you can send an e-mail, you must first connect to the SMTP server using the Connect function. You must also disconnect from the mail server after you've send all e-mails using the Disconnect function.
    In previous version of ActiveEmail, the connection was established by the Send function internally.


EXISTING USERS

Existing users must implement the new Connect and Disconnect functions in order to use ActiveEmail 2.3. Existing users must also eliminate the HostName, AccountName and AccountPassword properties; these properties are now implemented as parameters of Connect.

The following samples demonstrate how to convert your code from 2.2 to 2.3:

' = ActiveEmail 2.2 sample =
Set objSmtp = CreateObject("ActiveEmail.EMailMessage")

objSmtp.HostName        = "smtp.myserver.com"
objSmtp.AccountName     = "MyLogin"
objSmtp.AccountPassword = "MyPassword"

objSmtp.FromAddress     = "myname@mycompany.com"           
objSmtp.FromName        = "My Name"      

objSmtp.AddTo "roger@thecompany.com", "My friend Roger" 

objSmtp.Subject         = "Simple E-mail"
objSmtp.Body            = "Hello my friend""

objSmtp.Send ' Send will internally connect, deliver
             ' the message, and disconnect
' = ActiveEmail 2.3 sample =
Set objSmtp = CreateObject("ActiveEmail.EMailMessage")

objSmtp.Connect( "smtp.myserver.com", "MyLogin", "MyPassword" )  
If( objSmtp.LastError = 0 ) Then

  objSmtp.FromAddress     = "myname@mycompany.com"           
  objSmtp.FromName        = "My Name"      

  objSmtp.AddTo "roger@thecompany.com", "My friend Roger" 

  objSmtp.Subject         = "Simple E-mail"
  objSmtp.Body            = "Hello my friend""
 
  objSmtp.Send

  objSmtp.Disconnect
End If

INSTALLATION AND UPGRADE

Installation

To learn more about installing the product for the first time, please read our manual. You can download the manual at www.activexperts.com/files/smtp-pop3-component/manual.htm

Upgrade

Upgrading from a previous version should be done in the following way:

  • Uninstall 'ActiveXperts SMTP E-mail Toolkit' by using the 'Add/Remove Programs' applet in the Control Panel;
  • Install 'ActiveEmail SMTP Toolkit 2.3' by running the AEMAIL.EXE installation program (can be downloaded from www.activexperts.com/download)