Rn.NetCore.MailUtils
6.0.1.106
dotnet add package Rn.NetCore.MailUtils --version 6.0.1.106
NuGet\Install-Package Rn.NetCore.MailUtils -Version 6.0.1.106
<PackageReference Include="Rn.NetCore.MailUtils" Version="6.0.1.106" />
paket add Rn.NetCore.MailUtils --version 6.0.1.106
#r "nuget: Rn.NetCore.MailUtils, 6.0.1.106"
// Install Rn.NetCore.MailUtils as a Cake Addin #addin nuget:?package=Rn.NetCore.MailUtils&version=6.0.1.106 // Install Rn.NetCore.MailUtils as a Cake Tool #tool nuget:?package=Rn.NetCore.MailUtils&version=6.0.1.106
Documentation
Starter documentation for Rn.NetCore.MailUtils
.
Usage is as simple as:
- Adding required configuration to your application
- Registering - Rn.NetCore.MailUtils
- Injecting ISmtpClientFactory and IMailMessageBuilderFactory to your class
- Building your message and sending it
Builders
The following builders
are exposed by Rn.NetCore.MailUtils.
- MailMessageBuilder - utility for building MailMessage.
- MailTemplateBuilder - used to generate
HTML
content using a mail template.
Configuration
This section covers all the configuration objects exposed by Rn.NetCore.MailUtils.
- RnMailConfig - core mail client configuration.
Factories
The following factories
are exposed by Rn.NetCore.MailUtils.
- SmtpClientFactory - used to create new instances of the SmtpClientWrapper wrapper class.
- MailMessageBuilderFactory - used to create pre-configured instances of the MailMessageBuilder builder.
Helpers
The following helpers
are exposed by Rn.NetCore.MailUtils.
- Mail Templates - covers the usage of mail templates.
- Mail Template Placeholders - covers the usage of mail template placeholders.
Misc
Covers everything else to do with Rn.NetCore.MailUtils.
- Mail Templates - covers the usage of mail templates.
- Mail Template Placeholders - covers the usage of mail template placeholders.
- Service Registration - details how to register Rn.NetCore.MailUtils.
Providers
The following providers
are exposed by Rn.NetCore.MailUtils.
- RnMailConfigProvider - used to provide instances of the RnMailConfig class.
- MailTemplateProvider - used to resolve and provide instances of MailTemplateBuilder.
Wrappers
The following wrappers
are exposed by Rn.NetCore.MailUtils.
- SmtpClientWrapper - basic wrapper for the
.net
SmtpClient class.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. 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. |
-
net6.0
- Microsoft.Extensions.Configuration (>= 7.0.0)
- Rn.NetCore.Common (>= 6.1.0.101)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.