Install CDONTS to 64 bits Windows server

Today I found out 1 of the server do not have CDONTS installed at all and the server found to be 64bits Windows Server 2008 server.

Firstly, I did not discover that this is a 64 bits server and I have directly copy the cdonts.dll to the C:\Windows\System32 folder and try to register it but failed.

Then I found out it is a 64 bits server. Hmm.. Then I try to move the cdonts.dll to C:\Windows\SysWow64 folder and trying to register it. Step will be as detail below.

1. Open a command prompt with Administrator privilege.
2. Go to the path of C:\Windows\SysWow64, cd C:\Windows\SysWow64.
3. Register the library, regsvr32 cdonts.dll.
4. Try to send the email and it is working fine 🙂