Govindkm.DotMailer.Core
1.0.0-beta.7
dotnet add package Govindkm.DotMailer.Core --version 1.0.0-beta.7
NuGet\Install-Package Govindkm.DotMailer.Core -Version 1.0.0-beta.7
<PackageReference Include="Govindkm.DotMailer.Core" Version="1.0.0-beta.7" />
<PackageVersion Include="Govindkm.DotMailer.Core" Version="1.0.0-beta.7" />
<PackageReference Include="Govindkm.DotMailer.Core" />
paket add Govindkm.DotMailer.Core --version 1.0.0-beta.7
#r "nuget: Govindkm.DotMailer.Core, 1.0.0-beta.7"
#:package Govindkm.DotMailer.Core@1.0.0-beta.7
#addin nuget:?package=Govindkm.DotMailer.Core&version=1.0.0-beta.7&prerelease
#tool nuget:?package=Govindkm.DotMailer.Core&version=1.0.0-beta.7&prerelease
Govindkm.DotMailer.Core
Core domain models and interfaces for the DotMailer email delivery system.
Overview
This package provides the essential types and interfaces for building email delivery applications. It includes:
- EmailMessage - The main model for representing emails with support for attachments, CC/BCC, and HTML content
- EmailAddress - Type-safe email address representation with optional display names
- EmailSendResult - Result object indicating success/failure of email delivery
- IEmailTransport - Interface for implementing custom email transport providers
Installation
dotnet add package Govindkm.DotMailer.Core
Quick Start
using Govindkm.DotMailer.Core;
// Create an email message
var message = new EmailMessage
{
From = new EmailAddress("sender@example.com", "Sender Name"),
To = new[] { new EmailAddress("recipient@example.com") },
Subject = "Hello",
TextBody = "This is a test email",
HtmlBody = "<p>This is a test email</p>"
};
// Use with a transport implementation (e.g., Govindkm.DotMailer.SMTP)
var result = await client.SendAsync(message);
if (result.IsSuccess)
{
Console.WriteLine($"Email sent with ID: {result.MessageId}");
}
else
{
Console.WriteLine($"Failed to send email: {result.ErrorMessage}");
}
Features
- ✅ Rich email message model with attachments support
- ✅ Support for CC and BCC recipients
- ✅ Type-safe email address handling
- ✅ Extensible transport interface
- ✅ Pure .NET implementation, no external dependencies
Documentation
For complete documentation, examples, and more details, visit: DotMailer GitHub Repository
License
MIT License - See LICENSE file in repository for details
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
-
net10.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Govindkm.DotMailer.Core:
| Package | Downloads |
|---|---|
|
Govindkm.DotMailer.SMTP
Custom SMTP email transport for DotMailer. Provides direct SMTP protocol implementation with support for STARTTLS encryption and AUTH LOGIN authentication. No external dependencies - pure .NET implementation. |
|
|
Govindkm.DotMailer.Extensions.DependencyInjection
Dependency injection extensions for DotMailer. Provides convenient service registration for the DotMailer email delivery system with configuration support. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0-beta.7 | 90 | 7/14/2026 |
| 1.0.0-beta.6 | 75 | 7/14/2026 |
| 1.0.0-beta.5 | 64 | 7/14/2026 |
| 1.0.0-beta.4 | 77 | 7/14/2026 |