When using jmail for 64-bit Windows Server 2008 + iis7, an error is returned even if jmail has been successfully registered. In this case, you need to enable the 32-bit compatibility mode. The procedure is as follows:
1. Enable the 32-Bit mode
1. Click Start, click Run, type cmd, and click OK ".
2. type the following command to enable the 32-Bit mode:
Cscript % systemdrive % \ Inetpub \ adminscripts \ adsutil. vbs set w3svc/apppools/enable32bitapponwin64 1
2. Register jmail. dll
C: \ windows \ system32 \ regsvr32 c: \ windows \ system32 \ jmail. dll
Note: The Path "C: \ windows \ system32 \ jmail. dll" must be changed to the path where you store the jmail component. In addition, pay attention to the spaces in the middle.
Set IIS process pool-enable 32-bit ApplicationProgram-True: After. NET is compiled, IIS uses 64-bit loading by default after any CPU is used on the platform, but access the 32 COM component, resulting in incompatibility! But it doesn't matter. The problem will be solved after the above two steps.
Attachment: Install ASP Component in IIS: jmail mail sending and receiving component