Govindkm.DotMailer.Core 1.0.0-beta.7

This is a prerelease version of Govindkm.DotMailer.Core.
dotnet add package Govindkm.DotMailer.Core --version 1.0.0-beta.7
                    
NuGet\Install-Package Govindkm.DotMailer.Core -Version 1.0.0-beta.7
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Govindkm.DotMailer.Core" Version="1.0.0-beta.7" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Govindkm.DotMailer.Core" Version="1.0.0-beta.7" />
                    
Directory.Packages.props
<PackageReference Include="Govindkm.DotMailer.Core" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Govindkm.DotMailer.Core --version 1.0.0-beta.7
                    
#r "nuget: Govindkm.DotMailer.Core, 1.0.0-beta.7"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Govindkm.DotMailer.Core@1.0.0-beta.7
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Govindkm.DotMailer.Core&version=1.0.0-beta.7&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Govindkm.DotMailer.Core&version=1.0.0-beta.7&prerelease
                    
Install as a Cake Tool

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • 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