Table of Contents

Class EmailDeliveryContext

Namespace
MailForge.Models
Assembly
MailForge.dll

Immutable state shared by every IEmailMiddleware in the pipeline for a single send operation. The message can be mutated between stages.

public sealed class EmailDeliveryContext
Inheritance
EmailDeliveryContext
Inherited Members

Constructors

EmailDeliveryContext(EmailMessage)

Creates a delivery context.

public EmailDeliveryContext(EmailMessage message)

Parameters

message EmailMessage

Properties

Items

Metadata written by middleware for other stages to consume.

public IDictionary<string, object> Items { get; }

Property Value

IDictionary<string, object>

Message

The message being sent.

public EmailMessage Message { get; }

Property Value

EmailMessage