ComponentPro UltimateMail

      Installation instructions for C#

      Language Filter: AllSend comments on this topic to ComponentPro

      The ComponentPro Component Installer copies all necessary files into the product's installation folder. The next step to do to begin using ComponentPro's components is to add the appropriate assemblies to your project. Follow the steps below to to this.

      Creating a new C# Project

      1. Start Visual Studio.
      2. Select File->New->Project.
      3. Under "Project Type", select "Visual C# > Windows".
      4. Enter the name of the project you want to create and the location where it will be created.
      5. Click on the "OK" button to create.

      Adding appropriates assemblies to your project

      1. Select the "Add Reference" option from your "Project" menu. This can also be done by right-clicking on the "Reference" menu in the "Solution Explorer" and selecting the "Add Reference" option.
      2. Select the ".NET" tab in the "Add Reference" dialog.
      3. Select ComponentPro.Mail.dll, ComponentPro.Network.dll, and ComponentPro.Common.dll from the list.
      4. Click on the "OK" button.

      Now you can add using directives to your code to create aliases for existing namespaces and avoid having to type the fully qualified type names.

      using ComponentPro.Net;
      using ComponentPro.Net.Mail;