-
public final class InboxControllerApi extends ApiClient
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classInboxControllerApi.Companion
-
Constructor Summary
Constructors Constructor Description InboxControllerApi(String xApiKey, String basePath)
-
Method Summary
Modifier and Type Method Description final StringgetBaseUrl()final InboxDtocreateInbox(String emailAddress, List<String> tags, String name, String description, Boolean useDomainPool, Boolean favourite, OffsetDateTime expiresAt, Long expiresIn, Boolean allowTeamAccess, String inboxType)Create an inbox email address. final RequestConfigcreateInboxRequestConfig(String emailAddress, List<String> tags, String name, String description, Boolean useDomainPool, Boolean favourite, OffsetDateTime expiresAt, Long expiresIn, Boolean allowTeamAccess, String inboxType)To obtain the request config of the operation createInbox final InboxRulesetDtocreateInboxRuleset(UUID inboxId, CreateInboxRulesetOptions createInboxRulesetOptions)Create an inbox ruleset Create a new inbox rule for forwarding, blocking, and allowing emails when sending and receiving final RequestConfigcreateInboxRulesetRequestConfig(UUID inboxId, CreateInboxRulesetOptions createInboxRulesetOptions)To obtain the request config of the operation createInboxRuleset final InboxDtocreateInboxWithDefaults()Create an inbox with default options. final RequestConfigcreateInboxWithDefaultsRequestConfig()To obtain the request config of the operation createInboxWithDefaults final InboxDtocreateInboxWithOptions(CreateInboxDto createInboxDto)Create an inbox with options. final RequestConfigcreateInboxWithOptionsRequestConfig(CreateInboxDto createInboxDto)To obtain the request config of the operation createInboxWithOptions final UnitdeleteAllInboxes()Delete all inboxes Permanently delete all inboxes and associated email addresses. final RequestConfigdeleteAllInboxesRequestConfig()To obtain the request config of the operation deleteAllInboxes final UnitdeleteInbox(UUID inboxId)Delete inbox Permanently delete an inbox and associated email address as well as all emails within the given inbox. final RequestConfigdeleteInboxRequestConfig(UUID inboxId)To obtain the request config of the operation deleteInbox final InboxExistsDtodoesInboxExist(String emailAddress)Does inbox exist Check if inboxes exist by email address. final RequestConfigdoesInboxExistRequestConfig(String emailAddress)To obtain the request config of the operation doesInboxExist final FlushExpiredInboxesResultflushExpired(OffsetDateTime before)Remove expired inboxes Remove any expired inboxes for your account (instead of waiting for scheduled removal on server) final RequestConfigflushExpiredRequestConfig(OffsetDateTime before)To obtain the request config of the operation flushExpired final PageInboxProjectiongetAllInboxes(Integer page, Integer size, String sort, Boolean favourite, String search, String tag, Boolean teamAccess, OffsetDateTime since, OffsetDateTime before)List All Inboxes Paginated List inboxes in paginated form. final RequestConfiggetAllInboxesRequestConfig(Integer page, Integer size, String sort, Boolean favourite, String search, String tag, Boolean teamAccess, OffsetDateTime since, OffsetDateTime before)To obtain the request config of the operation getAllInboxes final List<EmailPreview>getEmails(UUID inboxId, Integer aliasForLimitAssessedFirstBeforeAssessingAnyPassedLimit, Integer limit, String sortTheResultsByReceivedDateAndDirectionASCOrDESC, Long retryTimeout, Long delayTimeout, Long minCount, Boolean unreadOnly, OffsetDateTime before, OffsetDateTime since)Get emails in an Inbox. final RequestConfiggetEmailsRequestConfig(UUID inboxId, Integer aliasForLimitAssessedFirstBeforeAssessingAnyPassedLimit, Integer limit, String sortTheResultsByReceivedDateAndDirectionASCOrDESC, Long retryTimeout, Long delayTimeout, Long minCount, Boolean unreadOnly, OffsetDateTime before, OffsetDateTime since)To obtain the request config of the operation getEmails final InboxDtogetInbox(UUID inboxId)Get Inbox. final RequestConfiggetInboxRequestConfig(UUID inboxId)To obtain the request config of the operation getInbox final CountDtogetInboxCount()Get total inbox count final RequestConfiggetInboxCountRequestConfig()To obtain the request config of the operation getInboxCount final CountDtogetInboxEmailCount(UUID inboxId)Get email count in inbox final RequestConfiggetInboxEmailCountRequestConfig(UUID inboxId)To obtain the request config of the operation getInboxEmailCount final PageEmailPreviewgetInboxEmailsPaginated(UUID inboxId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before)Get inbox emails paginated Get a paginated list of emails in an inbox. final RequestConfiggetInboxEmailsPaginatedRequestConfig(UUID inboxId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before)To obtain the request config of the operation getInboxEmailsPaginated final PageSentEmailProjectiongetInboxSentEmails(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before)Get Inbox Sent Emails Returns an inbox's sent email receipts. final RequestConfiggetInboxSentEmailsRequestConfig(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before)To obtain the request config of the operation getInboxSentEmails final Set<String>getInboxTags()Get inbox tags Get all inbox tags final RequestConfiggetInboxTagsRequestConfig()To obtain the request config of the operation getInboxTags final List<InboxDto>getInboxes(Integer size, String sort, OffsetDateTime since, OffsetDateTime before)List Inboxes and email addresses List the inboxes you have created. final RequestConfiggetInboxesRequestConfig(Integer size, String sort, OffsetDateTime since, OffsetDateTime before)To obtain the request config of the operation getInboxes final PageOrganizationInboxProjectiongetOrganizationInboxes(Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before)List Organization Inboxes Paginated List organization inboxes in paginated form. final RequestConfiggetOrganizationInboxesRequestConfig(Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before)To obtain the request config of the operation getOrganizationInboxes final PageInboxRulesetDtolistInboxRulesets(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before)List inbox rulesets List all rulesets attached to an inbox final RequestConfiglistInboxRulesetsRequestConfig(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before)To obtain the request config of the operation listInboxRulesets final PageTrackingPixelProjectionlistInboxTrackingPixels(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before)List inbox tracking pixels List all tracking pixels sent from an inbox final RequestConfiglistInboxTrackingPixelsRequestConfig(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before)To obtain the request config of the operation listInboxTrackingPixels final UnitsendEmail(UUID inboxId, SendEmailOptions sendEmailOptions)Send Email Send an email from an inbox's email address. final RequestConfigsendEmailRequestConfig(UUID inboxId, SendEmailOptions sendEmailOptions)To obtain the request config of the operation sendEmail final SentEmailDtosendEmailAndConfirm(UUID inboxId, SendEmailOptions sendEmailOptions)Send email and return sent confirmation Sister method for standard `sendEmail` method with the benefit of returning a `SentEmail` entity confirming the successful sending of the email with a link to the sent object created for it. final RequestConfigsendEmailAndConfirmRequestConfig(UUID inboxId, SendEmailOptions sendEmailOptions)To obtain the request config of the operation sendEmailAndConfirm final UnitsendTestEmail(UUID inboxId)Send a test email to inbox Send an inbox a test email to test email receiving is working final RequestConfigsendTestEmailRequestConfig(UUID inboxId)To obtain the request config of the operation sendTestEmail final InboxDtosetInboxFavourited(UUID inboxId, SetInboxFavouritedOptions setInboxFavouritedOptions)Set inbox favourited state Set and return new favourite state for an inbox final RequestConfigsetInboxFavouritedRequestConfig(UUID inboxId, SetInboxFavouritedOptions setInboxFavouritedOptions)To obtain the request config of the operation setInboxFavourited final InboxDtoupdateInbox(UUID inboxId, UpdateInboxOptions updateInboxOptions)Update Inbox. final RequestConfigupdateInboxRequestConfig(UUID inboxId, UpdateInboxOptions updateInboxOptions)To obtain the request config of the operation updateInbox -
-
Method Detail
-
getBaseUrl
final String getBaseUrl()
-
createInbox
final InboxDto createInbox(String emailAddress, List<String> tags, String name, String description, Boolean useDomainPool, Boolean favourite, OffsetDateTime expiresAt, Long expiresIn, Boolean allowTeamAccess, String inboxType)
Create an inbox email address. An inbox has a real email address and can send and receive emails. Inboxes can be either `SMTP` or `HTTP` inboxes. Create a new inbox and with a randomized email address to send and receive from. Pass emailAddress parameter if you wish to use a specific email address. Creating an inbox is required before sending or receiving emails. If writing tests it is recommended that you create a new inbox during each test method so that it is unique and empty.
- Parameters:
emailAddress- A custom email address to use with the inbox.tags- Tags that inbox has been tagged with.name- Optional name of the inbox.description- Optional description of the inbox for labelling purposes.useDomainPool- Use the MailSlurp domain name pool with this inbox when creating the email address.favourite- Is the inbox a favorite.expiresAt- Optional inbox expiration date.expiresIn- Number of milliseconds that inbox should exist for (optional)allowTeamAccess- DEPRECATED (team access is always true).inboxType- HTTP (default) or SMTP inbox type.
-
createInboxRequestConfig
final RequestConfig createInboxRequestConfig(String emailAddress, List<String> tags, String name, String description, Boolean useDomainPool, Boolean favourite, OffsetDateTime expiresAt, Long expiresIn, Boolean allowTeamAccess, String inboxType)
To obtain the request config of the operation createInbox
- Parameters:
emailAddress- A custom email address to use with the inbox.tags- Tags that inbox has been tagged with.name- Optional name of the inbox.description- Optional description of the inbox for labelling purposes.useDomainPool- Use the MailSlurp domain name pool with this inbox when creating the email address.favourite- Is the inbox a favorite.expiresAt- Optional inbox expiration date.expiresIn- Number of milliseconds that inbox should exist for (optional)allowTeamAccess- DEPRECATED (team access is always true).inboxType- HTTP (default) or SMTP inbox type.
-
createInboxRuleset
final InboxRulesetDto createInboxRuleset(UUID inboxId, CreateInboxRulesetOptions createInboxRulesetOptions)
Create an inbox ruleset Create a new inbox rule for forwarding, blocking, and allowing emails when sending and receiving
- Parameters:
inboxId- inboxId
-
createInboxRulesetRequestConfig
final RequestConfig createInboxRulesetRequestConfig(UUID inboxId, CreateInboxRulesetOptions createInboxRulesetOptions)
To obtain the request config of the operation createInboxRuleset
- Parameters:
inboxId- inboxId
-
createInboxWithDefaults
final InboxDto createInboxWithDefaults()
Create an inbox with default options. Uses MailSlurp domain pool address and is private.
-
createInboxWithDefaultsRequestConfig
final RequestConfig createInboxWithDefaultsRequestConfig()
To obtain the request config of the operation createInboxWithDefaults
-
createInboxWithOptions
final InboxDto createInboxWithOptions(CreateInboxDto createInboxDto)
Create an inbox with options. Extended options for inbox creation. Additional endpoint that allows inbox creation with request body options. Can be more flexible that other methods for some clients.
-
createInboxWithOptionsRequestConfig
final RequestConfig createInboxWithOptionsRequestConfig(CreateInboxDto createInboxDto)
To obtain the request config of the operation createInboxWithOptions
-
deleteAllInboxes
final Unit deleteAllInboxes()
Delete all inboxes Permanently delete all inboxes and associated email addresses. This will also delete all emails within the inboxes. Be careful as inboxes cannot be recovered once deleted. Note: deleting inboxes will not impact your usage limits. Monthly inbox creation limits are based on how many inboxes were created in the last 30 days, not how many inboxes you currently have.
-
deleteAllInboxesRequestConfig
final RequestConfig deleteAllInboxesRequestConfig()
To obtain the request config of the operation deleteAllInboxes
-
deleteInbox
final Unit deleteInbox(UUID inboxId)
Delete inbox Permanently delete an inbox and associated email address as well as all emails within the given inbox. This action cannot be undone. Note: deleting an inbox will not affect your account usage. Monthly inbox usage is based on how many inboxes you create within 30 days, not how many exist at time of request.
-
deleteInboxRequestConfig
final RequestConfig deleteInboxRequestConfig(UUID inboxId)
To obtain the request config of the operation deleteInbox
-
doesInboxExist
final InboxExistsDto doesInboxExist(String emailAddress)
Does inbox exist Check if inboxes exist by email address. Useful if you are sending emails to mailslurp addresses
- Parameters:
emailAddress- Email address
-
doesInboxExistRequestConfig
final RequestConfig doesInboxExistRequestConfig(String emailAddress)
To obtain the request config of the operation doesInboxExist
- Parameters:
emailAddress- Email address
-
flushExpired
final FlushExpiredInboxesResult flushExpired(OffsetDateTime before)
Remove expired inboxes Remove any expired inboxes for your account (instead of waiting for scheduled removal on server)
- Parameters:
before- Optional expired at before flag to flush expired inboxes that have expired before the given time (optional)
-
flushExpiredRequestConfig
final RequestConfig flushExpiredRequestConfig(OffsetDateTime before)
To obtain the request config of the operation flushExpired
- Parameters:
before- Optional expired at before flag to flush expired inboxes that have expired before the given time (optional)
-
getAllInboxes
final PageInboxProjection getAllInboxes(Integer page, Integer size, String sort, Boolean favourite, String search, String tag, Boolean teamAccess, OffsetDateTime since, OffsetDateTime before)
List All Inboxes Paginated List inboxes in paginated form. The results are available on the `content` property of the returned object. This method allows for page index (zero based), page size (how many results to return), and a sort direction (based on createdAt time). You Can also filter by whether an inbox is favorited or use email address pattern. This method is the recommended way to query inboxes. The alternative `getInboxes` method returns a full list of inboxes but is limited to 100 results.
- Parameters:
page- Optional page index in list pagination (optional, default to 0)size- Optional page size in list pagination (optional, default to 20)sort- Optional createdAt sort direction ASC or DESC (optional, default to ASC)favourite- Optionally filter results for favourites only (optional, default to false)search- Optionally filter by search words partial matching ID, tags, name, and email address (optional)tag- Optionally filter by tags.teamAccess- DEPRECATED.since- Optional filter by created after given date time (optional)before- Optional filter by created before given date time (optional)
-
getAllInboxesRequestConfig
final RequestConfig getAllInboxesRequestConfig(Integer page, Integer size, String sort, Boolean favourite, String search, String tag, Boolean teamAccess, OffsetDateTime since, OffsetDateTime before)
To obtain the request config of the operation getAllInboxes
- Parameters:
page- Optional page index in list pagination (optional, default to 0)size- Optional page size in list pagination (optional, default to 20)sort- Optional createdAt sort direction ASC or DESC (optional, default to ASC)favourite- Optionally filter results for favourites only (optional, default to false)search- Optionally filter by search words partial matching ID, tags, name, and email address (optional)tag- Optionally filter by tags.teamAccess- DEPRECATED.since- Optional filter by created after given date time (optional)before- Optional filter by created before given date time (optional)
-
getEmails
final List<EmailPreview> getEmails(UUID inboxId, Integer aliasForLimitAssessedFirstBeforeAssessingAnyPassedLimit, Integer limit, String sortTheResultsByReceivedDateAndDirectionASCOrDESC, Long retryTimeout, Long delayTimeout, Long minCount, Boolean unreadOnly, OffsetDateTime before, OffsetDateTime since)
Get emails in an Inbox. This method is not idempotent as it allows retries and waits if you want certain conditions to be met before returning. For simple listing and sorting of known emails use the email controller instead. List emails that an inbox has received. Only emails that are sent to the inbox's email address will appear in the inbox. It may take several seconds for any email you send to an inbox's email address to appear in the inbox. To make this endpoint wait for a minimum number of emails use the `minCount` parameter. The server will retry the inbox database until the `minCount` is satisfied or the `retryTimeout` is reached
- Parameters:
inboxId- Id of inbox that emails belongs toaliasForLimitAssessedFirstBeforeAssessingAnyPassedLimit- (optional)limit- Limit the result set, ordered by received date time sort direction.sortTheResultsByReceivedDateAndDirectionASCOrDESC- (optional)retryTimeout- Maximum milliseconds to spend retrying inbox database until minCount emails are returned (optional)delayTimeout- (optional)minCount- Minimum acceptable email count.unreadOnly- (optional)before- Exclude emails received after this ISO 8601 date time (optional)since- Exclude emails received before this ISO 8601 date time (optional)
-
getEmailsRequestConfig
final RequestConfig getEmailsRequestConfig(UUID inboxId, Integer aliasForLimitAssessedFirstBeforeAssessingAnyPassedLimit, Integer limit, String sortTheResultsByReceivedDateAndDirectionASCOrDESC, Long retryTimeout, Long delayTimeout, Long minCount, Boolean unreadOnly, OffsetDateTime before, OffsetDateTime since)
To obtain the request config of the operation getEmails
- Parameters:
inboxId- Id of inbox that emails belongs toaliasForLimitAssessedFirstBeforeAssessingAnyPassedLimit- (optional)limit- Limit the result set, ordered by received date time sort direction.sortTheResultsByReceivedDateAndDirectionASCOrDESC- (optional)retryTimeout- Maximum milliseconds to spend retrying inbox database until minCount emails are returned (optional)delayTimeout- (optional)minCount- Minimum acceptable email count.unreadOnly- (optional)before- Exclude emails received after this ISO 8601 date time (optional)since- Exclude emails received before this ISO 8601 date time (optional)
-
getInbox
final InboxDto getInbox(UUID inboxId)
Get Inbox. Returns properties of an inbox. Returns an inbox's properties, including its email address and ID.
-
getInboxRequestConfig
final RequestConfig getInboxRequestConfig(UUID inboxId)
To obtain the request config of the operation getInbox
-
getInboxCount
final CountDto getInboxCount()
Get total inbox count
-
getInboxCountRequestConfig
final RequestConfig getInboxCountRequestConfig()
To obtain the request config of the operation getInboxCount
-
getInboxEmailCount
final CountDto getInboxEmailCount(UUID inboxId)
Get email count in inbox
- Parameters:
inboxId- Id of inbox that emails belongs to
-
getInboxEmailCountRequestConfig
final RequestConfig getInboxEmailCountRequestConfig(UUID inboxId)
To obtain the request config of the operation getInboxEmailCount
- Parameters:
inboxId- Id of inbox that emails belongs to
-
getInboxEmailsPaginated
final PageEmailPreview getInboxEmailsPaginated(UUID inboxId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before)
Get inbox emails paginated Get a paginated list of emails in an inbox. Does not hold connections open.
- Parameters:
inboxId- Id of inbox that emails belongs topage- Optional page index in inbox emails list pagination (optional, default to 0)size- Optional page size in inbox emails list pagination (optional, default to 20)sort- Optional createdAt sort direction ASC or DESC (optional, default to ASC)since- Optional filter by received after given date time (optional)before- Optional filter by received before given date time (optional)
-
getInboxEmailsPaginatedRequestConfig
final RequestConfig getInboxEmailsPaginatedRequestConfig(UUID inboxId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before)
To obtain the request config of the operation getInboxEmailsPaginated
- Parameters:
inboxId- Id of inbox that emails belongs topage- Optional page index in inbox emails list pagination (optional, default to 0)size- Optional page size in inbox emails list pagination (optional, default to 20)sort- Optional createdAt sort direction ASC or DESC (optional, default to ASC)since- Optional filter by received after given date time (optional)before- Optional filter by received before given date time (optional)
-
getInboxSentEmails
final PageSentEmailProjection getInboxSentEmails(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before)
Get Inbox Sent Emails Returns an inbox's sent email receipts. Call individual sent email endpoints for more details. Note for privacy reasons the full body of sent emails is never stored. An MD5 hash hex is available for comparison instead.
- Parameters:
page- Optional page index in inbox sent email list pagination (optional, default to 0)size- Optional page size in inbox sent email list pagination (optional, default to 20)sort- Optional createdAt sort direction ASC or DESC (optional, default to ASC)searchFilter- Optional sent email search (optional)since- Optional filter by sent after given date time (optional)before- Optional filter by sent before given date time (optional)
-
getInboxSentEmailsRequestConfig
final RequestConfig getInboxSentEmailsRequestConfig(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before)
To obtain the request config of the operation getInboxSentEmails
- Parameters:
page- Optional page index in inbox sent email list pagination (optional, default to 0)size- Optional page size in inbox sent email list pagination (optional, default to 20)sort- Optional createdAt sort direction ASC or DESC (optional, default to ASC)searchFilter- Optional sent email search (optional)since- Optional filter by sent after given date time (optional)before- Optional filter by sent before given date time (optional)
-
getInboxTags
final Set<String> getInboxTags()
Get inbox tags Get all inbox tags
-
getInboxTagsRequestConfig
final RequestConfig getInboxTagsRequestConfig()
To obtain the request config of the operation getInboxTags
-
getInboxes
@Deprecated(message = This operation is deprecated.) final List<InboxDto> getInboxes(Integer size, String sort, OffsetDateTime since, OffsetDateTime before)
List Inboxes and email addresses List the inboxes you have created. Note use of the more advanced `getAllEmails` is recommended and allows paginated access using a limit and sort parameter.
- Parameters:
size- Optional result size limit.sort- Optional createdAt sort direction ASC or DESC (optional, default to ASC)since- Optional filter by created after given date time (optional)before- Optional filter by created before given date time (optional)
-
getInboxesRequestConfig
@Deprecated(message = This operation is deprecated.) final RequestConfig getInboxesRequestConfig(Integer size, String sort, OffsetDateTime since, OffsetDateTime before)
To obtain the request config of the operation getInboxes
- Parameters:
size- Optional result size limit.sort- Optional createdAt sort direction ASC or DESC (optional, default to ASC)since- Optional filter by created after given date time (optional)before- Optional filter by created before given date time (optional)
-
getOrganizationInboxes
final PageOrganizationInboxProjection getOrganizationInboxes(Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before)
List Organization Inboxes Paginated List organization inboxes in paginated form. These are inboxes created with `allowTeamAccess` flag enabled. Organization inboxes are `readOnly` for non-admin users. The results are available on the `content` property of the returned object. This method allows for page index (zero based), page size (how many results to return), and a sort direction (based on createdAt time).
- Parameters:
page- Optional page index in list pagination (optional, default to 0)size- Optional page size in list pagination (optional, default to 20)sort- Optional createdAt sort direction ASC or DESC (optional, default to ASC)searchFilter- Optional search filter (optional)since- Optional filter by created after given date time (optional)before- Optional filter by created before given date time (optional)
-
getOrganizationInboxesRequestConfig
final RequestConfig getOrganizationInboxesRequestConfig(Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before)
To obtain the request config of the operation getOrganizationInboxes
- Parameters:
page- Optional page index in list pagination (optional, default to 0)size- Optional page size in list pagination (optional, default to 20)sort- Optional createdAt sort direction ASC or DESC (optional, default to ASC)searchFilter- Optional search filter (optional)since- Optional filter by created after given date time (optional)before- Optional filter by created before given date time (optional)
-
listInboxRulesets
final PageInboxRulesetDto listInboxRulesets(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before)
List inbox rulesets List all rulesets attached to an inbox
- Parameters:
page- Optional page index in inbox ruleset list pagination (optional, default to 0)size- Optional page size in inbox ruleset list pagination (optional, default to 20)sort- Optional createdAt sort direction ASC or DESC (optional, default to ASC)searchFilter- Optional search filter (optional)since- Optional filter by created after given date time (optional)before- Optional filter by created before given date time (optional)
-
listInboxRulesetsRequestConfig
final RequestConfig listInboxRulesetsRequestConfig(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before)
To obtain the request config of the operation listInboxRulesets
- Parameters:
page- Optional page index in inbox ruleset list pagination (optional, default to 0)size- Optional page size in inbox ruleset list pagination (optional, default to 20)sort- Optional createdAt sort direction ASC or DESC (optional, default to ASC)searchFilter- Optional search filter (optional)since- Optional filter by created after given date time (optional)before- Optional filter by created before given date time (optional)
-
listInboxTrackingPixels
final PageTrackingPixelProjection listInboxTrackingPixels(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before)
List inbox tracking pixels List all tracking pixels sent from an inbox
- Parameters:
page- Optional page index in inbox tracking pixel list pagination (optional, default to 0)size- Optional page size in inbox tracking pixel list pagination (optional, default to 20)sort- Optional createdAt sort direction ASC or DESC (optional, default to ASC)searchFilter- Optional search filter (optional)since- Optional filter by created after given date time (optional)before- Optional filter by created before given date time (optional)
-
listInboxTrackingPixelsRequestConfig
final RequestConfig listInboxTrackingPixelsRequestConfig(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before)
To obtain the request config of the operation listInboxTrackingPixels
- Parameters:
page- Optional page index in inbox tracking pixel list pagination (optional, default to 0)size- Optional page size in inbox tracking pixel list pagination (optional, default to 20)sort- Optional createdAt sort direction ASC or DESC (optional, default to ASC)searchFilter- Optional search filter (optional)since- Optional filter by created after given date time (optional)before- Optional filter by created before given date time (optional)
-
sendEmail
final Unit sendEmail(UUID inboxId, SendEmailOptions sendEmailOptions)
Send Email Send an email from an inbox's email address. The request body should contain the `SendEmailOptions` that include recipients, attachments, body etc. See `SendEmailOptions` for all available properties. Note the `inboxId` refers to the inbox's id not the inbox's email address. See https://www.mailslurp.com/guides/ for more information on how to send emails. This method does not return a sent email entity due to legacy reasons. To send and get a sent email as returned response use the sister method `sendEmailAndConfirm`.
- Parameters:
inboxId- ID of the inbox you want to send the email from
-
sendEmailRequestConfig
final RequestConfig sendEmailRequestConfig(UUID inboxId, SendEmailOptions sendEmailOptions)
To obtain the request config of the operation sendEmail
- Parameters:
inboxId- ID of the inbox you want to send the email from
-
sendEmailAndConfirm
final SentEmailDto sendEmailAndConfirm(UUID inboxId, SendEmailOptions sendEmailOptions)
Send email and return sent confirmation Sister method for standard `sendEmail` method with the benefit of returning a `SentEmail` entity confirming the successful sending of the email with a link to the sent object created for it.
- Parameters:
inboxId- ID of the inbox you want to send the email from
-
sendEmailAndConfirmRequestConfig
final RequestConfig sendEmailAndConfirmRequestConfig(UUID inboxId, SendEmailOptions sendEmailOptions)
To obtain the request config of the operation sendEmailAndConfirm
- Parameters:
inboxId- ID of the inbox you want to send the email from
-
sendTestEmail
final Unit sendTestEmail(UUID inboxId)
Send a test email to inbox Send an inbox a test email to test email receiving is working
-
sendTestEmailRequestConfig
final RequestConfig sendTestEmailRequestConfig(UUID inboxId)
To obtain the request config of the operation sendTestEmail
-
setInboxFavourited
final InboxDto setInboxFavourited(UUID inboxId, SetInboxFavouritedOptions setInboxFavouritedOptions)
Set inbox favourited state Set and return new favourite state for an inbox
-
setInboxFavouritedRequestConfig
final RequestConfig setInboxFavouritedRequestConfig(UUID inboxId, SetInboxFavouritedOptions setInboxFavouritedOptions)
To obtain the request config of the operation setInboxFavourited
-
updateInbox
final InboxDto updateInbox(UUID inboxId, UpdateInboxOptions updateInboxOptions)
Update Inbox. Change name and description. Email address is not editable. Update editable fields on an inbox
-
updateInboxRequestConfig
final RequestConfig updateInboxRequestConfig(UUID inboxId, UpdateInboxOptions updateInboxOptions)
To obtain the request config of the operation updateInbox
-
-
-
-