Getting Started |
This topic contains the following sections:
In Visual Studio's Package Manager Console, enter the following command:
Install-Package MailKit
First, you'll need to clone MailKit from the GitHub repository:
git clone https://github.com/jstedfast/MailKit.git
Then, since MailKit makes use of git submodules, you will need to initialize and update the submodules using the following command from within the MailKit directory:
git submodule update --init --recursive
In the top-level MailKit source directory, there are several solution files:
MailKit.sln includes projects for .NET 4.5.2, .NET 4.6, .NET 4.7, .NET 4.8, .NET 5.0, .NET 6.0, .NETStandard 2.0, .NETStandard 2.1, and the unit tests.
MailKit.Documentation.sln includes projects for generating the documentation that you are reading right now.
Once you've opened the appropriate MailKit solution file in either Xamarin Studio or Visual Studio (either will work), you can choose the Debug or Release build configuration and then build.