SeliseBlocks.MailDriver
9.0.0-preview.11
See the version list below for details.
dotnet add package SeliseBlocks.MailDriver --version 9.0.0-preview.11
NuGet\Install-Package SeliseBlocks.MailDriver -Version 9.0.0-preview.11
<PackageReference Include="SeliseBlocks.MailDriver" Version="9.0.0-preview.11" />
<PackageVersion Include="SeliseBlocks.MailDriver" Version="9.0.0-preview.11" />
<PackageReference Include="SeliseBlocks.MailDriver" />
paket add SeliseBlocks.MailDriver --version 9.0.0-preview.11
#r "nuget: SeliseBlocks.MailDriver, 9.0.0-preview.11"
#addin nuget:?package=SeliseBlocks.MailDriver&version=9.0.0-preview.11&prerelease
#tool nuget:?package=SeliseBlocks.MailDriver&version=9.0.0-preview.11&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
SendAsync
await 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.12 | 3 | 6/2/2025 |
9.0.0-preview.11 | 37 | 5/24/2025 |
9.0.0-preview.10 | 127 | 5/20/2025 |
9.0.0-preview.9 | 290 | 4/22/2025 |
9.0.0-preview.8 | 127 | 4/22/2025 |
8.0.0-preview.8 | 279 | 3/6/2025 |
8.0.0-preview.7 | 68 | 2/26/2025 |
8.0.0-preview.6 | 57 | 2/26/2025 |
8.0.0-preview.5 | 57 | 2/26/2025 |
8.0.0-preview.4 | 58 | 2/26/2025 |
8.0.0-preview.3 | 59 | 2/26/2025 |
8.0.0-preview.2 | 56 | 2/26/2025 |
8.0.0-preview.1 | 66 | 2/20/2025 |