I got the same problem after I did upgrade or downgrade without restart the windows server.
below steps should be fixed this problem
1. uninstall the winwebmail server
2. restart the windows server
3. re-do winwebmail installation (it may needs to restart the windows server once more)
4. run the easymail.exe to start winwebmail server
end