Quicklinks
ActiveEmail SMTP/POP3 Toolkit 3.0 is the newest version of the ActiveXperts ActiveEmail product.
Version 3.0 is feature update of version 2.4.
The mission of the product is to provide an easy-to-use programming interface to SMTP- and POP3 e-mail 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 3.0 VERSION (see below).
Object oriented approach - ActiveEmail has now a more object oriented approach. The SmtpMail object does not exist anymore; it is split up into two different objects: SmtpServer and SmtpMail. Existing users must make a small modification to their code to adapt to this change.
Two new objects provide an interface to the POP3 protocol: Pop3Server and Pop3Mail;
Existing users cannot use the SmtpMail object anymore. It has been replaced by two new objects: SmtpServer and SmtpMail.
The following samples demonstrate how to convert your code from 2.4 to 3.0:
' === ActiveEmail 2.4 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
' === ActiveEmail 3.0 sample ===
Set objSmtpServer = CreateObject( "ActiveEmail.Smtp" )
Set objSmtpMail = CreateObject( "ActiveEmail.EMailMessage" )
objSmtpServer.Connect( "smtp.myserver.com", "MyLogin", "MyPassword" )
If( objSmtpServer.LastError = 0 ) Then
objSmtpMail.Clear()
objSmtpMail.FromAddress = "myname@mycompany.com"
objSmtpMail.FromName = "My Name"
objSmtpMail.AddTo "roger@thecompany.com", "My friend Roger"
objSmtpMail.Subject = "Simple E-mail"
objSmtpMail.Body = "Hello my friend""
objSmtpServer.Send( objSmtpMail )
objSmtpServer.Disconnect
End If
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
Upgrading from a previous version should be done in the following way: