All Classes and Interfaces
Class
Description
Abstract class representing a model with common functionality for serialization.
Interface representing the Mailtrap Testing API for interaction with account accesses
Custom deserializer for
AccountAccessResponse that handles the deserialization
of complex fields, including dynamic mapping of the specifier field based on
the specifier_type field.Interface representing the Mailtrap Testing API for interaction with accounts
Represents an email address.
Base abstract class representing an API resource.
Interface representing the Mailtrap Testing API for interaction with email message attachments.
Base custom exception.
Interface representing the Mailtrap Testing API for interaction with billing
Interface representing the Mailtrap Bulk Sending API for sending emails.
Implementation of the
BulkEmails interface for bulk sending emails.A per-recipient error recorded when campaign sending failed.
Current state of an email campaign in its lifecycle.
Utility class containing constant values used in the SDK.
An adapter used by mail content validation rules.
Attributes used to create an email campaign.
Omit
domainId for a Mailtrap-hosted inbox; pass it to create a
custom-domain (catch-all) inbox.Metadata about the most recent campaign state transition.
Interface representing a custom HTTP client for accessing API.
How an email campaign is delivered.
Delivery throttling options.
Represents an attachment in an email.
An email marketing campaign.
Filtering and pagination parameters for listing email campaigns.
Paginated list of email campaigns, wrapped as
data alongside page-token pagination
metadata.A single email campaign wrapped in the
data envelope, as returned by the create,
get, update, and lifecycle action endpoints.Email Campaigns API.
Aggregated campaign performance metrics.
Aggregation window for email campaign statistics.
Aggregated campaign statistics wrapped in the
data envelope.Type of event in an email log (e.g. delivery, open, click).
Common contract for email log filters so the API can serialize operator and value.
API for listing and retrieving email sending logs.
Filters for listing email logs.
Custom deserializer for
ErrorResponse that handles the deserialization
of error messages from a variety of possible JSON structures.Filter with case-insensitive string operators (e.g. to, from).
Filter for events.
Filter with exact match (e.g. category, email_service_provider).
Filter for optional string (e.g. subject).
Filter for sending_domain_id.
Filter for sending_stream.
Filter for status.
Filter with string operators (e.g. client_ip, sending_ip).
Specific exception class representing a 4xx HTTP-related error.
Exception class representing an HTTP-related error.
Specific exception class representing a 5xx HTTP-related error.
Attachment metadata on a received message.
Interface representing the Mailtrap Inbound Email API for managing folders.
Body for forwarding an inbound message.
Interface representing the Mailtrap Inbound Email API for managing inboxes
within a folder.
A received inbound message.
Direction of a message inside a thread:
inbound (received) or
outbound (sent as a reply, reply-all, or forward).Interface representing the Mailtrap Inbound Email API for received messages.
Visibility of a message inside a thread.
Body for replying to (or reply-all-ing) an inbound message.
Result of a reply, reply-all, or forward (sends a real email).
A conversation thread.
A message inside a thread.
Interface representing the Mailtrap Inbound Email API for conversation threads.
Interface representing the Mailtrap Testing API for interaction with inboxes
Custom exception wrapper for request body validation violations
Custom exception wrapper for JSON serializing/deserializing exceptions
ContentView implementation for a single-send MailtrapMail.
Represents an API for Mailtrap Bulk Sending functionality
Client for interacting with Mailtrap APIs.
Factory class for creating instances of
MailtrapClient.Configuration class for Mailtrap SDK.
Represents an API for Mailtrap Contacts functionality
Represents an API for Mailtrap Email Campaigns functionality.
Represents an API for Mailtrap Sending functionality
Represents an API for Mailtrap Testing functionality
Represents an API for Mailtrap General functionality
Groups the token-scoped Inbound Email API resources (folders, inboxes,
messages, threads).
Represents an API for Mailtrap Organizations functionality
Wrapper for validating objects using a javax.validation.Validator.
Utility class for providing a configured ObjectMapper instance.
Interface representing the Mailtrap Testing API for interaction with email messages
Status of an email in the sending log.
Page-token pagination metadata returned with a paginated list response.
Interface representing the Mailtrap Testing API for interaction with permissions
Interface representing the Mailtrap Testing API for interaction with projects
Reply-To address parts.
Data class representing additional request data, such as query parameters and headers.
ContentView implementation for a batch item via ResolvedMailView.
Read-only overlay that resolves the effective values (either from `base` or mail item) for batch request validation
Request body for scheduling an email campaign.
Abstract class representing a resource for sending emails via Mailtrap API.
Utility class which holds sending context (which API to use: Email Sending API, Bulk Sending API or
Email Testing API, inbox id for Email Testing API) to make it possible to perform send directly from
MailtrapClientInterface representing the Mailtrap Sending API for sending emails.
Implementation of the
SendingEmails interface for sending emails in the production environment.Represents the response from sending a message.
Interface representing the Mailtrap API for interaction with sending statistics
Filtering and pagination parameters for listing suppressions.
Single suppression wrapped as
data.Sending stream as used in Suppressions API (any, transactional, or bulk).
The template associated with an email campaign as returned in the campaign response.
Inline email template — the campaign's subject and design.
Interface representing the Mailtrap Testing API for sending emails.
Implementation of the
TestingEmails interface for sending emails in the sandbox environment.API token expiration sent as the
expires_at request field.Filtering and pagination parameters for listing tracking opt-outs.
Page of tracking opt-outs wrapped as
data, with the cursor for the next page.Single tracking opt-out wrapped as
data.Attributes used to update a
draft email campaign.Helpers for verifying inbound Mailtrap webhook signatures.