Back to product page

Technical information


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

wodSmtpCom is a COM object (wodSmtp.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 wodSmtpCom
 

and wodSmtp as ActiveX control (wodSmtp.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. It has it's own explorer-alike user interface.

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 wodSmtp, of course), you need one more line to put in your code to license wodSmtp correctly:
 
Smtp1.LicenseKey = "put.your.key.here"
 

COM Object information
Filename wodSmtp.DLL (wodSmtp64.DLL for x64)
Class name WeOnlyDo.wodSmtpCom.1
Class ID {0C62D803-DE43-4B3D-B259-00AB7AA46B84}
Events class ID {0xB22638C1,0xF805,0x4015,{0x8E,0xF6,0xC0,0x62,0x15,0x90,0x51,0x56}}
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 wodSmtp.OCX (wodSmtp64.OCX for x64)
Class name WeOnlyDo.wodSmtpDLX.1
Class ID {D89EA86C-04A6-463F-B1AA-99892E8B4FAA}
Events class ID {0x867302B7,0x059F,0x453A,{0xAE,0x6D,0x13,0x33,0x89,0x6C,0x79,0x5A}}
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
ISmtpEncoder {B15381B5-2FCA-4A29-981E-C92721A3E97A}
ISmtpHdr {59E5F6A9-BE13-4A62-AEB1-66B90C886B77}
ISmtpHdrs {2662100E-7ACE-437D-847E-5776D087A4AB}
ISmtpMsg {BF793957-55DE-4B48-8D54-282F1D52CF8C}
ISmtpMsgs {1745FECC-B514-4089-B649-262C0EA0688F}
IwodSmtpClientNotify {3AB49CFC-15F1-41da-B63A-D9D61A39101E}


 

Documentation
Help filename wodSmtp.CHM



Distribution note

When you develop and distribute an application that uses this component:
    1. Choose between COM object (wodSmtp.DLL/wodSmtp64.DLL) and the ActiveX control (wodSmtp.OCX/wodSmtp64.DLL) 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. wodSmtp 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 wodSmtp.

Platforms

Windows