MailSlurpAPI.Api.EmailController.get_email_text_lines

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

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

Specs

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

Parse and return text from an email, stripping HTML and decoding encoded characters Parse an email body and return the content as an array of strings. HTML parsing uses JSoup and UNIX line separators.

Parameters

  • connection (MailSlurpAPI.Connection): Connection to server
  • email_id (String.t): ID of email to fetch text for
  • opts (KeywordList): [optional] Optional parameters
    • :decode_html_entities (boolean()): Decode HTML entities
    • :line_separator (String.t): Line separator character

      Returns

} on success {:error, info} on failure