Abraham.Mail 1.0.10

dotnet add package Abraham.Mail --version 1.0.10
                    
NuGet\Install-Package Abraham.Mail -Version 1.0.10
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Abraham.Mail" Version="1.0.10" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Abraham.Mail" Version="1.0.10" />
                    
Directory.Packages.props
<PackageReference Include="Abraham.Mail" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Abraham.Mail --version 1.0.10
                    
#r "nuget: Abraham.Mail, 1.0.10"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Abraham.Mail@1.0.10
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Abraham.Mail&version=1.0.10
                    
Install as a Cake Addin
#tool nuget:?package=Abraham.Mail&version=1.0.10
                    
Install as a Cake Tool

Abraham.Mail

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image GitHub Repo stars GitHub Repo stars

OVERVIEW

Receive and send emails easily using the POP3, SMTP and IMAP protocols. This nuget package contains 3 email clients to simplify the usage of the MailKit/Mimekit nuget packages.

Included are 4 simple demos that allow you to see:

  • how to read your inbox
  • how to send an email
  • how to move an email between IMAP folders

For examples, please refer to the demo project on github.

License

Licensed under Apache licence. https://www.apache.org/licenses/LICENSE-2.0

Compatibility

The nuget package was build with DotNET 6.

INSTALLATION

Install the Nuget package "Abraham.Mail" into your application (from https://www.nuget.org).

Add the following code:

    var _client = new Abraham.Mail.Pop3Client()
				.UseHostname("ENTER YOUR POP3 SERVER NAME HERE")
				.UseSecurityProtocol(Security.Ssl)
				.UseAuthentication("ENTER YOUR USERNAME HERE", "ENTER YOUR PASSWORD HERE")
				.Open();

	Console.Write("Reading the inbox...");
	var emails = _client.GetAllMessages();
	emails.ForEach(x => Console.WriteLine($"    - {x}"));

That's it!

For more options, please refer to my Demo application in the github repository (see below). The Demo and the nuget source code is well documented.

HOW TO INSTALL A NUGET PACKAGE

This is very simple:

  • Start Visual Studio (with NuGet installed)
  • Right-click on your project's References and choose "Manage NuGet Packages..."
  • Choose Online category from the left
  • Enter the name of the nuget package to the top right search and hit enter
  • Choose your package from search results and hit install
  • Done!

or from NuGet Command-Line:

Install-Package Abraham.Mail

ABOUT THE LIBRARY I AM USING

I am using the nuget package MailKit from Jeffrey stedfast. This is an amazing piece of code! You'll find the project website at http://www.mimekit.net All thanks go to him.

AUTHOR

Oliver Abraham, mail@oliver-abraham.de, https://www.oliver-abraham.de

Please feel free to comment and suggest improvements!

SOURCE CODE

The source code is hosted at:

https://github.com/OliverAbraham/Abraham.Mail

The Nuget Package is hosted at:

https://www.nuget.org/packages/Abraham.Mail

SCREENSHOTS

POP3 client demo reading the inbox: alternate text is missing from this package README image

MAKE A DONATION !

If you find this application useful, buy me a coffee! I would appreciate a small donation on https://www.buymeacoffee.com/oliverabraham

<a href="https://www.buymeacoffee.com/app/oliverabraham" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" ></a>

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.10 237 11/28/2024
1.0.9 182 11/28/2024
1.0.8 197 11/24/2024
1.0.7 191 11/24/2024
1.0.6 235 10/19/2024
1.0.5 234 10/19/2024
1.0.4 230 10/19/2024
1.0.3 266 3/19/2024
1.0.2 335 11/11/2023
1.0.1 580 10/25/2022
1.0.0 550 10/3/2022