MailSlurpAPI.Api.EmailController.get_email_content_match

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

get_email_content_match(connection, email_id, content_match_options, opts \\ [])

Specs

Get email content regex pattern match results. Runs regex against email body and returns match groups. Return the matches for a given Java style regex pattern. Do not include the typical / at start or end of regex in some languages. Given an example your code is: 12345 the pattern to extract match looks like code is: (\d{6}). This will return an array of matches with the first matching the entire pattern and the subsequent matching the groups: ['code is: 123456', '123456'] See https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html for more information of available patterns.

Parameters

  • connection (MailSlurpAPI.Connection): Connection to server
  • email_id (String.t): ID of email to match against
  • content_match_options (ContentMatchOptions): contentMatchOptions
  • opts (KeywordList): [optional] Optional parameters

    Returns

} on success {:error, info} on failure