Table of Contents

Namespace Mailtrap.EmailCampaigns.Models

Classes

CampaignState

Current state of an email campaign in its lifecycle.

DeliveryMode

How an email campaign is delivered.

EmailCampaign

Represents an email campaign.

EmailCampaignDeliveryOptions

Represents delivery throttling options of an email campaign.

EmailCampaignList

Represents a paginated page of email campaigns.

EmailCampaignListFilter

Represents a set of filtering and pagination parameters for listing email campaigns.

EmailCampaignStateError

Represents a per-recipient error recorded when sending an email campaign failed.

EmailCampaignStateMetadata

Represents metadata about the most recent state transition of an email campaign.

EmailCampaignStats

Represents aggregated performance metrics for an email campaign.
All counts and rates are 0 when the campaign has not been started.

EmailCampaignStatsFilter

Represents an optional aggregation window for email campaign statistics.
By default, statistics are aggregated over the whole period since the campaign was last started.

EmailCampaignTemplate

Represents the template associated with an email campaign.
BodyHtml and BodyText are returned only on single-campaign responses - the list endpoint omits them to keep the payload small.

ReplyTo

Represents the Reply-To address parts of an email campaign.