MailSlurpAPI.Api.EmailController.get_email_html_query
You're seeing just the function
get_email_html_query
, go back to MailSlurpAPI.Api.EmailController module for more information.
Link to this function
get_email_html_query(connection, email_id, opts \\ [])
Specs
get_email_html_query(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 text. HTML parsing uses JSoup which supports JQuery/CSS style selectors
Parameters
- connection (MailSlurpAPI.Connection): Connection to server
- email_id (String.t): ID of email to perform HTML query on
- opts (KeywordList): [optional] Optional parameters
- :html_selector (String.t): HTML selector to search for. Uses JQuery/JSoup/CSS style selector like '.my-div' to match content. See https://jsoup.org/apidocs/org/jsoup/select/Selector.html for more information.
Returns
- :html_selector (String.t): HTML selector to search for. Uses JQuery/JSoup/CSS style selector like '.my-div' to match content. See https://jsoup.org/apidocs/org/jsoup/select/Selector.html for more information.
} on success {:error, info} on failure