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
TransactionalIdstringThe unique identifier of the transactional email.
TemplateIdstringThe template identifier used.
RecipientEmailstringThe recipient's email address.
SubjectstringThe subject line of the email.
SentAtDateTimeOffsetThe timestamp when the email was sent.
StatusstringThe 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
RecipientEmail
The recipient's email address.
public string RecipientEmail { get; init; }
Property Value
SentAt
The timestamp when the email was sent.
public DateTimeOffset SentAt { get; init; }
Property Value
Status
The status of the send operation.
public string Status { get; init; }
Property Value
Subject
The subject line of the email.
public string Subject { get; init; }
Property Value
TemplateId
The template identifier used.
public string TemplateId { get; init; }
Property Value
TransactionalId
The unique identifier of the transactional email.
public string TransactionalId { get; init; }