MailSlurpAPI.Api.MailServerController (mailslurp v12.8.4)

API calls for all endpoints tagged MailServerController.

Link to this section Summary

Functions

Get IP address for a domain

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

Link to this section Functions

Link to this function

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

Specs

Get DNS Mail Server records for a domain

Parameters

  • connection (MailSlurpAPI.Connection): Connection to server
  • describe_options (DescribeDomainOptions): describeOptions
  • 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): 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): name
  • opts (KeywordList): [optional] Optional parameters

    Returns

} on success {:error, info} on failure

Link to this function

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

Specs

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

Parameters

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

    Returns

} on success {:error, info} on failure