This page describes how to build hMailServer from source. The source code is stored in a CVS repository. If you want to make any changes to the source code and to submit the code back to the community, you will need a username and password. You may use anonymous access as described below, if you just want to download the source code.
- TortoiseCVS - An open source CVS client.
- Visual Studio 2003.NET for hMailServer 4.2 and earlier(used to build the server)
- Visual Studio 2005 for hMailServer 4.3 and later(used to build the server)
- Visual Basic 6 (used to build hMailAdmin, database setup etc)
1: Downloading the source code
- Install TortoiseCVS.
- Create a development folder, for example
C:Dev (or anything you like).
- Open that folder using Windows Explorer.
- Right-click to select CVS Checkout.
Now the TortoiseCVS - Checkout Module dialog
is shown. This dialog lets you specify what you want to check out.
- In the CVSROOT field, enter
- In the Module field, enter
- Select the Revision tab
- Select Choose branch or tag
- Enter the branch name:
- H-3-4 for hMailServer 3.4.
- H-4-0 for hMailServer 4.0.
- H-4-1 for hMailServer 4.1.
- H-4-2 for hMailServer 4.2.
- If you want the latest build, just leave the branch name empty. However, please note that the latest build is normally very unstable.
- Click OK to download the source.
If you are asked for a password, enter
2: Building it
- In VS2003.NET or VS2005 (depending on hMailServer version), open
- Select Build hMailServer from the Build menu
3: Running the server
- Open the project properties for hMailServer
- Select Configuration Parameters->Debugging
Debug to Command arguments
- Click OK to save the settings.
- Select Start from the Debug menu..