MailSlurpAPI.Api.EmailController.download_body
You're seeing just the function
download_body
, go back to MailSlurpAPI.Api.EmailController module for more information.
Link to this function
download_body(connection, email_id, opts \\ [])
Specs
download_body(Tesla.Env.client(), String.t(), keyword()) :: {:ok, String.t()} | {:error, Tesla.Env.t()}
Get email body as string. Returned as plain/text
with content type header.
Returns the specified email body for a given email as a string
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