Getting Started in ASP |
In order to insert wodPop3 COM object in your project, follow these steps: 1. Install the component on your system by starting its setup program. 2. Go to Inetpub/wwwroot folder and create new, or open existing ASP page 3. Add code similar to this initialize wodPop3Com
4. Set Blocking mode which is needed in scripting environments
5. If you have licensed version of the product, set LicenseKey property
6. Set other properties, and connect
7. If an error occurs, you should convert hexadecimal representation of the error to decimal so that you can locate error in our list. For example:
IIS reported error 0x800A9C3F. You should use only 9C3F, when converted to decimal it is 39999 - License Key missing error. 7. Important: If you use trial version of our product, you will always receive above error. wodPop3 needs to access the registry in order to validate trial license. Since IIS is running under IUSR_COMPUTER account and does not have access to the registry, you must change IIS privileges and force it to run as Administrator. Do not do this on production server! This is potential security problem! This applies only to trial (demo) version. Licensed version does not have this restriction. To change IIS privileges go to Start->Settings->Control Panel->Administrative Tools->Internet Services Manager. Find 'Default Web Site' here, right-click on it, select 'Properties'. Go to 'Directory Security' tab, at the top there is 'Anonymous access and authentication control' frame, and 'Edit' button. Click on 'Edit' button, and then on new 'Authentication Methods' dialog box select also 'Edit' button for 'Account used for anonymous access'. Here you should enter Username: 'Administrator', and for Password: put administrator password. Click on 'Ok' to close all windows, and wodPop3 should run now Once again: do not do this on production server, only in testing and firewalled environment.
You should not use ActiveX control in ASP because you will not be able to set LicenseKey. Only COM object should be used with ASP. |