MailSlurpAPI.Api.EmailController.get_attachments1
You're seeing just the function
get_attachments1
, go back to MailSlurpAPI.Api.EmailController module for more information.
Link to this function
get_attachments1(connection, email_id, opts \\ [])
Specs
get_attachments1(Tesla.Env.client(), String.t(), keyword()) :: {:ok, [MailSlurpAPI.Model.AttachmentMetaData.t()]} | {:error, Tesla.Env.t()}
Get all email attachment metadata. Metadata includes name and size of attachments. 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