Table of Contents

Class SubscriberBouncedEvent

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

Integration event raised when a subscriber's email bounces.

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

Constructors

SubscriberBouncedEvent(string, string, string, string?, DateTimeOffset, string?)

Integration event raised when a subscriber's email bounces.

public SubscriberBouncedEvent(string SubscriberId, string Email, string BounceType, string? BounceReason, DateTimeOffset BouncedAt, string? CampaignId)

Parameters

SubscriberId string

The unique identifier of the subscriber.

Email string

The subscriber's email address.

BounceType string

The type of bounce (hard, soft).

BounceReason string

The reason for the bounce.

BouncedAt DateTimeOffset

The timestamp when the bounce occurred.

CampaignId string

The campaign that triggered the bounce, if applicable.

Properties

BounceReason

The reason for the bounce.

public string? BounceReason { get; init; }

Property Value

string

BounceType

The type of bounce (hard, soft).

public string BounceType { get; init; }

Property Value

string

BouncedAt

The timestamp when the bounce occurred.

public DateTimeOffset BouncedAt { get; init; }

Property Value

DateTimeOffset

CampaignId

The campaign that triggered the bounce, if applicable.

public string? CampaignId { get; init; }

Property Value

string

Email

The subscriber's email address.

public string Email { get; init; }

Property Value

string

EventType

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

public override string EventType { get; }

Property Value

string

SubscriberId

The unique identifier of the subscriber.

public string SubscriberId { get; init; }

Property Value

string