Table of Contents

Interface IEmailAuditSink

Namespace
MailForge.Interfaces
Assembly
MailForge.dll

Receives a record of every send attempt. An audit sink is the recommended place to persist delivery history for retry and compliance purposes.

public interface IEmailAuditSink

Methods

RecordAsync(EmailAuditRecord, CancellationToken)

Records the outcome of a send attempt.

Task RecordAsync(EmailAuditRecord record, CancellationToken cancellationToken = default)

Parameters

record EmailAuditRecord

The audit record.

cancellationToken CancellationToken

A token used to cancel the operation.

Returns

Task