MailSlurpAPI.Api.EmailController.download_attachment_base64

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

download_attachment_base64(connection, attachment_id, email_id, opts \\ [])

Specs

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

Get email attachment as base64 encoded string (alternative to binary responses) Returns the specified attachment for a given email as a base 64 encoded string. The response type is application/json. This method is similar to the downloadAttachment method but allows some clients to get around issues with binary responses.

Parameters

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

    Returns

} on success {:error, info} on failure