Lakerfield.Pop3Server 0.1.0-beta.1

Prefix Reserved
This is a prerelease version of Lakerfield.Pop3Server.
dotnet add package Lakerfield.Pop3Server --version 0.1.0-beta.1                
NuGet\Install-Package Lakerfield.Pop3Server -Version 0.1.0-beta.1                
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="Lakerfield.Pop3Server" Version="0.1.0-beta.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Lakerfield.Pop3Server --version 0.1.0-beta.1                
#r "nuget: Lakerfield.Pop3Server, 0.1.0-beta.1"                
#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.
// Install Lakerfield.Pop3Server as a Cake Addin
#addin nuget:?package=Lakerfield.Pop3Server&version=0.1.0-beta.1&prerelease

// Install Lakerfield.Pop3Server as a Cake Tool
#tool nuget:?package=Lakerfield.Pop3Server&version=0.1.0-beta.1&prerelease                

Pop3Server

What is Pop3Server?

Pop3Server is a simple, yet highly functional POP3 server implementation. It is based on the structure of the SmtpServer project by cosullivan, with modifications to implement POP3 instead of SMTP. Written entirely in C#, showcases the potential for a full-featured POP3 server built on .NET.

Acknowledgements

Special thanks to cosullivan for the original SmtpServer project, which served as the foundation for Pop3Server.

What's New?

This project is in its early stages and is a proof of concept for a POP3 server. The code structure and architecture have been adapted from the original SmtpServer project to support POP3.

How can it be used?

To get the Pop3Server up and running, you can follow this example from the included project in the example\Pop3WorkerService folder. Here's how to start the server:

var options = new Pop3ServerOptionsBuilder()
  .ServerName("POP3 Server")
  .Endpoint(endpoint => endpoint
    .Port(110)
    .AllowUnsecureAuthentication())
  .Build();

var serviceProvider = new ServiceProvider();
serviceProvider.Add(new ConsoleUserAuthenticator());
serviceProvider.Add(new ConsoleMessageStore());

var pop3Server = new Pop3Server.Pop3Server(options, serviceProvider);
await pop3Server.StartAsync(CancellationToken.None);

Available Features

Pop3Server currently supports the following POP3 commands:

  • CAPA
  • USER
  • PASS
  • DELE
  • LIST
  • NOOP
  • PROXY
  • RETR
  • RSET
  • STAT
  • STLS
  • TOP
  • UIDL
  • QUIT

Example Project

An example project demonstrating how to set up and run the Pop3Server is included in the example\Pop3WorkerService folder. This example provides a basic implementation to help you get started with using and customizing the server.

Contributing

Contributions are welcome! If you find bugs or have feature requests, feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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
0.1.0-beta.1 58 9/2/2024