There are usually two different scenarios for using aspNetIMAP, either you are using it from Visual Studio .NET or you aren’t. Below you will find some brief tutorials for using aspNetIMAP from either of these scenarios.
When you are using aspNetIMAP in Visual Studio .NET it is recommended you IMPORT the aspNetIMAP.dll and aspNetMime20.dll to the project. Once inside of the project, then set a reference to the IMPORTED copy, not the GAC copy. We recommend this, because in case aspNetIMAP is uninstalled from the server, your application will still run off of the imported aspNetIMAP.dll copy.
Please note that licensing requires a purchased license from aspNetIMAP for each copy installed on a different server or computer. The option of a site license is also available, where aspNetIMAP can be installed on an unlimited number of systems, at a single, physical location. Please visit www.aspNetIMAP.com for the latest licensing terms.
Using aspNetIMAP in VS.NET [C#]