MailSlurpAPI.Api.MailServerController (mailslurp v15.5.0)

API calls for all endpoints tagged MailServerController.

Link to this section Summary

Link to this section Functions

Link to this function

describe_mail_server_domain(connection, describe_domain_options, opts \\ [])

Specs

Get DNS Mail Server records for a domain

Parameters

  • connection (MailSlurpAPI.Connection): Connection to server
  • describe_domain_options (DescribeDomainOptions):
  • opts (KeywordList): [optional] Optional parameters

    Returns

} on success {:error, info} on failure

Link to this function

get_dns_lookup(connection, dns_lookup_options, opts \\ [])

Specs

Lookup DNS records for a domain

Parameters

  • connection (MailSlurpAPI.Connection): Connection to server
  • dns_lookup_options (DnsLookupOptions):
  • opts (KeywordList): [optional] Optional parameters

    Returns

} on success {:error, info} on failure

Link to this function

get_ip_address(connection, name, opts \\ [])

Specs

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

Get IP address for a domain

Parameters

  • connection (MailSlurpAPI.Connection): Connection to server
  • name (String.t):
  • opts (KeywordList): [optional] Optional parameters

    Returns

} on success {:error, info} on failure

Link to this function

verify_email_address(connection, verify_email_address_options, opts \\ [])

Specs

Verify the existence of an email address at a given mail server.

Parameters

  • connection (MailSlurpAPI.Connection): Connection to server
  • verify_email_address_options (VerifyEmailAddressOptions):
  • opts (KeywordList): [optional] Optional parameters

    Returns

} on success {:error, info} on failure