SeliseBlocks.MailDriver
9.0.0-preview.15
dotnet add package SeliseBlocks.MailDriver --version 9.0.0-preview.15
NuGet\Install-Package SeliseBlocks.MailDriver -Version 9.0.0-preview.15
<PackageReference Include="SeliseBlocks.MailDriver" Version="9.0.0-preview.15" />
<PackageVersion Include="SeliseBlocks.MailDriver" Version="9.0.0-preview.15" />
<PackageReference Include="SeliseBlocks.MailDriver" />
paket add SeliseBlocks.MailDriver --version 9.0.0-preview.15
#r "nuget: SeliseBlocks.MailDriver, 9.0.0-preview.15"
#:package SeliseBlocks.MailDriver@9.0.0-preview.15
#addin nuget:?package=SeliseBlocks.MailDriver&version=9.0.0-preview.15&prerelease
#tool nuget:?package=SeliseBlocks.MailDriver&version=9.0.0-preview.15&prerelease
SeliseBlocks.MailDriver
Overview
SeliseBlocks.MailDriver is a Mail driver designed to integrate email functionalities into your application. It provides a standardized way to send mail securely.
Installation
To install SeliseBlocks.MailDriver, add the NuGet package to your project:
dotnet add package SeliseBlocks.MailDriver
Usage
Register Dependencies
Before using SeliseBlocks.MailDriver, ensure that all required dependencies are registered in your application's dependency injection container. Add the following line in your Program.cs:
add the namespace
using Blocks.Extension.DependencyInjection;
register the service
builder.Services.RegisterBlocksMailService();
This method will configure and register all necessary services required for the Mail driver to function properly.
Features
Send mail
var request = new SendMail { SubjectDataContext = <Dictionary<string, string>>, To = <string[]>, Bcc = <string[]>, Cc = <string[]>, Purpose = <string>, Language = <string>, ReplyTo = <string[]>, Attachments = <string[]>, BodyDataContext = <Dictionary<string, string>>, ProjectKey = <string> }Invoke
SendAsyncawait SendAsync(request);
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. 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. |
-
net9.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on SeliseBlocks.MailDriver:
| Package | Downloads |
|---|---|
|
SeliseBlocks.MfaDriver
Blocks MFA Driver |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 9.0.0-preview.15 | 840 | 10/13/2025 |
| 9.0.0-preview.14 | 153 | 10/13/2025 |
| 9.0.0-preview.13 | 1,730 | 6/15/2025 |
| 9.0.0-preview.12 | 213 | 6/2/2025 |
| 9.0.0-preview.11 | 90 | 5/24/2025 |
| 9.0.0-preview.10 | 204 | 5/20/2025 |
| 9.0.0-preview.9 | 344 | 4/22/2025 |
| 9.0.0-preview.8 | 180 | 4/22/2025 |
| 8.0.0-preview.8 | 320 | 3/6/2025 |
| 8.0.0-preview.7 | 113 | 2/26/2025 |
| 8.0.0-preview.6 | 104 | 2/26/2025 |
| 8.0.0-preview.5 | 102 | 2/26/2025 |
| 8.0.0-preview.4 | 109 | 2/26/2025 |
| 8.0.0-preview.3 | 111 | 2/26/2025 |
| 8.0.0-preview.2 | 101 | 2/26/2025 |
| 8.0.0-preview.1 | 115 | 2/20/2025 |