MailSlurpAPI.Api.EmailController.validate_email
You're seeing just the function
validate_email
, go back to MailSlurpAPI.Api.EmailController module for more information.
Link to this function
validate_email(connection, email_id, opts \\ [])
Specs
validate_email(Tesla.Env.client(), String.t(), keyword()) :: {:ok, MailSlurpAPI.Model.ValidationDto.t()} | {:error, Tesla.Env.t()}
Validate email Validate the HTML content of email if HTML is found. Considered valid if no HTML.
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