MailSlurpAPI.Api.EmailController.get_email_html

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

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

Specs

get_email_html(Tesla.Env.client(), String.t(), keyword()) ::
  {:ok, String.t()} | {:error, Tesla.Env.t()}

Get email content as HTML Retrieve email content as HTML response for viewing in browsers. Decodes quoted-printable entities and converts charset to UTF-8. Pass your API KEY as a request parameter when viewing in a browser: ?apiKey=xxx

Parameters

  • connection (MailSlurpAPI.Connection): Connection to server
  • email_id (String.t): emailId
  • opts (KeywordList): [optional] Optional parameters
    • :decode (boolean()): decode

      Returns

} on success {:error, info} on failure