MailSlurpMailServerControllerApi

All URIs are relative to https://api.mailslurp.com

MethodHTTP requestDescription
DescribeMailServerDomainPost /mail-server/describe/domainGet DNS Mail Server records for a domain
GetDnsLookupPost /mail-server/describe/dns-lookupLookup DNS records for a domain
GetIpAddressPost /mail-server/describe/ip-addressGet IP address for a domain
VerifyEmailAddressPost /mail-server/verify/email-addressVerify the existence of an email address at a given mail server.

DescribeMailServerDomain

DescribeMailServerDomainResult DescribeMailServerDomain(ctx, describeOptions)

Get DNS Mail Server records for a domain

Required Parameters

NameTypeDescriptionNotes
ctxcontext.Contextcontext for authentication, logging, cancellation, deadlines, tracing, etc.
describeOptionsDescribeDomainOptionsdescribeOptions

Return type

DescribeMailServerDomainResult

Authorization

API_KEY

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to ]

GetDnsLookup

DnsLookupResults GetDnsLookup(ctx, dnsLookupOptions)

Lookup DNS records for a domain

Required Parameters

NameTypeDescriptionNotes
ctxcontext.Contextcontext for authentication, logging, cancellation, deadlines, tracing, etc.
dnsLookupOptionsDnsLookupOptionsdnsLookupOptions

Return type

DnsLookupResults

Authorization

API_KEY

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to ]

GetIpAddress

IpAddressResult GetIpAddress(ctx, name)

Get IP address for a domain

Required Parameters

NameTypeDescriptionNotes
ctxcontext.Contextcontext for authentication, logging, cancellation, deadlines, tracing, etc.
namestringname

Return type

IpAddressResult

Authorization

API_KEY

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to ]

VerifyEmailAddress

EmailVerificationResult VerifyEmailAddress(ctx, verifyOptions)

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

Required Parameters

NameTypeDescriptionNotes
ctxcontext.Contextcontext for authentication, logging, cancellation, deadlines, tracing, etc.
verifyOptionsVerifyEmailAddressOptionsverifyOptions

Return type

EmailVerificationResult

Authorization

API_KEY

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to ]