wodSmtpServer ActiveX Control - Technical and distribution information
 

 

General

wodSmtpServer component has two versions (both included in the package):

wodSmtpServerCom is a COM object (wodSmtpSrv.dll), designed to be initialized dynamically from your code, and declared from within your code. It does not have user interface, it is windowless. Usually, you will initialize it with

Dim WithEvents Smtp1 as wodSmtpServerCom

and wodSmtpServer as ActiveX control (wodSmtpSrv.ocx) - designed to be put on application's form using drag&drop from control toolbox. Once you put it on the form, no special code is required to initialize it, since your environment (usually VB) will handle it.

COM object licensing is not directly supported by any container. Unlike ActiveX controls which are licensed the moment you put them on the form (if you have licensed version of wodSmtpServer, of course), you need one more line to put in your code to license wodSmtpServer correctly:

 
Smtp1.LicenseKey = "put.your.key.here"
 

COM Object information
Filename wodSmtpSrv.DLL (wodSmtpSrv64.DLL for x64)
Class name WeOnlyDo.wodSmtpServerCom.1
Class ID {7088A18E-8903-4E92-B4E0-39B9C3A1BE4B}
Events class ID {0x82763FA4,0x949A,0x48B1,{0xA5,0x7E,0x1C,0x6E,0x0B,0x3C,0xCE,0x61}}
Compatibility VB 5.0 and above, VFP 5.0 and above
Built with Microsoft Visual Studio 2008 C++, OpenSSL
Required DLLs None required, wodCertificate.dll optional, only if certificates are used.


ActiveX Control information
Filename wodSmtpSrv.OCX (wodSmtpSrv64.OCX for x64)
Class name WeOnlyDo.wodSmtpServer.1
Class ID {ABE27794-7CCE-4FDF-B16D-7276F6A11C5A}
Events class ID {0x993D1592,0xD9E8,0x4F7D,{0x95,0x47,0x92,0x83,0xE2,0x4F,0x9B,0x57}}
Compatibility VB 5.0 and above, VFP 5.0 and above
Built with Microsoft Visual Studio 2008 C++, OpenSSL
Required DLLs None required, wodCertificate.dll optional, only if certificates are used.


Interfaces
ISmtpHeader {1864A17F-4C26-4C46-B97C-340EEE9AC26B}
ISmtpHeaders {5D4AFCFA-38FF-4795-88E3-FB6638FA2060}
ISmtpMessage {C67EB852-7970-4A2B-89E5-4335057367DA}
ISmtpRelay {BDB570C5-D667-4195-8289-D145759A8DFE}
ISmtpRelays {47450628-7346-48E8-A477-195DB658C18F}
ISmtpUser {E61FE947-BE32-4313-89DC-94C160B195AA}
ISmtpUsers {BFEC289A-3C2F-4DD5-BD02-27CBD0930D79}
INotifications {98C7D959-77E5-471f-BE27-86638EFB8A3B}


 

Documentation
Help filename wodSmtpSrv.CHM
 

Distribution note

When you develop and distribute an application that uses this component:

1. Choose between COM object (wodSmtpSrv.DLL/wodSmtpSrv64.DLL) and the ActiveX control (wodSmtpSrv.OCX/wodSmtpSrv64.OCX) to include into the installation package. Both versions are independent on each other.

2. You should include wodCertificate.DLL/wodCertificate64.DLL for Certificate management - if it is needed in your application. wodSmtpServer does not depend on it - only uses it for client authentication with the certificate or private key.

3. Above binaries can be included royalty-free in your application.

4. Use RegSvr32.EXE (or any other installer package creator) to register both the OCX and the DLL. Usually, installer software will do this for you

5. Install the component file(s) into the user's Windows SYSTEM32 folder. The component file(s) has/have version information built into it. So, during installation, you should ensure that you are not overwriting a newer version.


Using licensed version

To use retail (licensed) version in your code, put your license key into LicenseKey property, immediately after initializing the component. For ActiveX control, you cannot do this (there is no LicenseKey property) because your license key will be read internally by wodSmtpServer.