Table of Contents

Class TransactionalEmailSentEvent

Namespace
Compendium.Core.Domain.Events.Integration
Assembly
Compendium.Core.dll

Integration event raised when a transactional email is sent.

public sealed record TransactionalEmailSentEvent : IntegrationEventBase, IIntegrationEvent, IEquatable<IntegrationEventBase>, IEquatable<TransactionalEmailSentEvent>
Inheritance
TransactionalEmailSentEvent
Implements
Inherited Members

Constructors

TransactionalEmailSentEvent(string, string, string, string, DateTimeOffset, string)

Integration event raised when a transactional email is sent.

public TransactionalEmailSentEvent(string TransactionalId, string TemplateId, string RecipientEmail, string Subject, DateTimeOffset SentAt, string Status)

Parameters

TransactionalId string

The unique identifier of the transactional email.

TemplateId string

The template identifier used.

RecipientEmail string

The recipient's email address.

Subject string

The subject line of the email.

SentAt DateTimeOffset

The timestamp when the email was sent.

Status string

The status of the send operation.

Properties

EventType

Gets the name of the event type for serialization and routing purposes.

public override string EventType { get; }

Property Value

string

RecipientEmail

The recipient's email address.

public string RecipientEmail { get; init; }

Property Value

string

SentAt

The timestamp when the email was sent.

public DateTimeOffset SentAt { get; init; }

Property Value

DateTimeOffset

Status

The status of the send operation.

public string Status { get; init; }

Property Value

string

Subject

The subject line of the email.

public string Subject { get; init; }

Property Value

string

TemplateId

The template identifier used.

public string TemplateId { get; init; }

Property Value

string

TransactionalId

The unique identifier of the transactional email.

public string TransactionalId { get; init; }

Property Value

string