MailSlurpAPI.Api.SentEmailsController (mailslurp v11.6.19)

API calls for all endpoints tagged SentEmailsController.

Link to this section Summary

Functions

Get all sent emails in paginated form

Get all sent organization emails in paginated form

Link to this section Functions

Link to this function

get_sent_email(connection, id, opts \\ [])

Specs

get_sent_email(Tesla.Env.client(), String.t(), keyword()) ::
  {:ok, MailSlurpAPI.Model.SentEmailDto.t()} | {:error, Tesla.Env.t()}

Get sent email receipt

Parameters

  • connection (MailSlurpAPI.Connection): Connection to server
  • id (String.t): id
  • opts (KeywordList): [optional] Optional parameters

    Returns

} on success {:error, info} on failure

Link to this function

get_sent_emails(connection, opts \\ [])

Specs

get_sent_emails(Tesla.Env.client(), keyword()) ::
  {:ok, MailSlurpAPI.Model.PageSentEmailProjection.t()}
  | {:error, Tesla.Env.t()}

Get all sent emails in paginated form

Parameters

  • connection (MailSlurpAPI.Connection): Connection to server
  • opts (KeywordList): [optional] Optional parameters
    • :inbox_id (String.t): Optional inboxId to filter sender of sent emails by
    • :page (integer()): Optional page index in inbox sent email list pagination
    • :size (integer()): Optional page size in inbox sent email list pagination
    • :sort (String.t): Optional createdAt sort direction ASC or DESC

      Returns

} on success {:error, info} on failure

Link to this function

get_sent_organization_emails(connection, opts \\ [])

Specs

get_sent_organization_emails(Tesla.Env.client(), keyword()) ::
  {:ok, MailSlurpAPI.Model.PageSentEmailProjection.t()}
  | {:error, Tesla.Env.t()}

Get all sent organization emails in paginated form

Parameters

  • connection (MailSlurpAPI.Connection): Connection to server
  • opts (KeywordList): [optional] Optional parameters
    • :inbox_id (String.t): Optional inboxId to filter sender of sent emails by
    • :page (integer()): Optional page index in inbox sent email list pagination
    • :size (integer()): Optional page size in inbox sent email list pagination
    • :sort (String.t): Optional createdAt sort direction ASC or DESC

      Returns

} on success {:error, info} on failure