MyMail.Blazor (0.1.0)
Published 2026-10-17 17:55:25 +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.0 MyMail.BlazorAbout this package
Blazor email client UI components built on MyMail and SmarterMail.Net.
MyMail.Blazor
An embeddable Blazor email client built on MyMail and SmarterMail.Net. Targets .NET 10 and includes its own styles without requiring a third-party component library.
Installation
Install the package from your configured NuGet feed:
dotnet add package MyMail.Blazor
Configuration
Register both the headless library and the Blazor services in Program.cs:
using MyMail.Extensions;
using MyMail.Blazor.Extensions;
services.AddMyMail(options =>
{
options.BaseUrl = "https://mail.example.com";
options.AllowedEmailDomains = new[] { "example.com" }; // Optional
});
services.AddMyMailBlazor();
Add the stylesheet to your host page:
<link href="_content/MyMail.Blazor/mymail.css" rel="stylesheet" />
Import the component namespace in _Imports.razor:
@using MyMail.Blazor.Components.Mail
Render the mail client with credentials supplied by your application:
<MailClient @key="username" Username="@username" Password="@password" />
The host application owns authentication. Use @key to remount the component
when switching users. AddMyMailBlazor() does not register AddMyMail();
both registrations are required.
Dependencies
Details
2026-10-17 17:55:25 +01:00
2026-11-24 07:24:20 +00:00
Assets (4)
Versions (8)
View all
NuGet
4
Rui Pereira
1.2 MiB
mymail.blazor.0.1.0.nupkg
567 KiB
mymail.blazor.nuspec
1.4 KiB
mymail.blazor.0.1.0.snupkg
295 KiB
mymail.blazor.pdb
410 KiB