-
public final class CreateDomainOptionsOptions for creating a domain to use with MailSlurp. You must have ownership access to this domain in order to verify it. Domains will not function correctly until the domain has been verified. See https://www.mailslurp.com/guides/custom-domains for help. Domains can be either
HTTPorSMTPtype. The type of domain determines which inboxes can be used with it.SMTPinboxes use a mail server runningmx.mailslurp.comwhileHTTPinboxes are handled by AWS SES.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumCreateDomainOptions.DomainTypeType of domain. Dictates type of inbox that can be created with domain. HTTP means inboxes are processed using SES while SMTP inboxes use a custom SMTP mail server. SMTP does not support sending so use HTTP for sending emails. Values: hTTPINBOX,sMTPDOMAIN
-
Field Summary
Fields Modifier and Type Field Description private final Stringdomainprivate final Stringdescriptionprivate final BooleancreatedCatchAllInboxprivate final CreateDomainOptions.DomainTypedomainType
-
Constructor Summary
Constructors Constructor Description CreateDomainOptions(String domain, String description, Boolean createdCatchAllInbox, CreateDomainOptions.DomainType domainType)
-
Method Summary
Modifier and Type Method Description final StringgetDomain()final StringgetDescription()final BooleangetCreatedCatchAllInbox()final CreateDomainOptions.DomainTypegetDomainType()-
-
Constructor Detail
-
CreateDomainOptions
CreateDomainOptions(String domain, String description, Boolean createdCatchAllInbox, CreateDomainOptions.DomainType domainType)
- Parameters:
domain- The top level domain you wish to use with MailSlurp.description- Optional description of the domain.createdCatchAllInbox- Whether to create a catch all inbox for the domain.domainType- Type of domain.
-
-
Method Detail
-
getDescription
final String getDescription()
-
getCreatedCatchAllInbox
final Boolean getCreatedCatchAllInbox()
-
getDomainType
final CreateDomainOptions.DomainType getDomainType()
-
-
-
-