MyMail (0.1.1)

Published 2026-10-17 18:19:00 +01:00 by RAAPEREIRA

Installation

dotnet nuget add source --name RAAPEREIRA --username your_username --password your_token 
dotnet add package --source RAAPEREIRA --version 0.1.1 MyMail

About this package

Opinionated internal email client built on SmarterMail.Net.

MyMail

A headless .NET email client library providing a simpler API over SmarterMail.Net. Targets .NET Standard 2.0 and .NET 10.

Installation

Install MyMail from your configured NuGet feed:

dotnet add package MyMail

Configuration

Register the library in your application's service collection:

using MyMail.Extensions;

services.AddMyMail(options =>
{
    options.BaseUrl = "https://mail.example.com";
    options.AllowedEmailDomains = new[] { "example.com" }; // Optional
});

The library registers IMyMailClientFactory. Clients are created on demand; IMyMailClient is not registered directly in dependency injection.

MyMail delegates server operations to SmarterMail.Net and exposes feature APIs for mail, calendars, contacts, notes and tasks. SmarterMail failures are wrapped in MyMailException subtypes, including authentication and operation errors.

For an embeddable Blazor interface, install MyMail.Blazor as well.

Dependencies

ID Version Target Framework
SmarterMail.Net 2.1.7 .NETStandard2.0
Microsoft.Bcl.AsyncInterfaces 10.0.13 .NETStandard2.0
Microsoft.Extensions.DependencyInjection.Abstractions 10.0.13 .NETStandard2.0
Microsoft.Extensions.Logging.Abstractions 10.0.13 .NETStandard2.0
System.Text.Json 10.0.13 .NETStandard2.0
SmarterMail.Net 2.1.7 net10.0
Microsoft.Extensions.DependencyInjection.Abstractions 10.0.13 net10.0
Microsoft.Extensions.Logging.Abstractions 10.0.13 net10.0
Details
NuGet
2026-10-17 18:19:00 +01:00
4
2026-11-24 07:24:29 +00:00
Rui Pereira
556 KiB
Assets (5)
Versions (8) View all
2.1.12 2026-11-20
2.1.11 2026-11-19
2.1.10 2026-11-19
2.1.9 2026-11-18
2.1.8 2026-10-17