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