MailSlurpAPI.Api.EmailController.get_attachments

You're seeing just the function get_attachments, go back to MailSlurpAPI.Api.EmailController module for more information.
Link to this function

get_attachments(connection, email_id, opts \\ [])

Specs

get_attachments(Tesla.Env.client(), String.t(), keyword()) ::
  {:ok, [MailSlurpAPI.Model.AttachmentMetaData.t()]} | {:error, Tesla.Env.t()}

Get all email attachment metadata Returns an array of attachment metadata such as name and content-type for a given email if present.

Parameters

  • connection (MailSlurpAPI.Connection): Connection to server
  • email_id (String.t): ID of email
  • opts (KeywordList): [optional] Optional parameters

    Returns

, ...]} on success {:error, info} on failure