Interface MailserverConfigurationDiscoveryStrategy

    • Method Detail

      • getMailserverServices

        List<CompletableFuture<List<MailserverService>>> getMailserverServices​(EmailAddress emailAddress)
        Get a list of MailserverServices representing a specific mailserver protocol configuration for submission and reception of emails. If only the domain part is known or should be used for the lookup, please use getMailserverServices(EmailAddress.DomainPart) instead.
        Parameters:
        emailAddress - Email address object to get mailserver configurations for.
        Returns:
        A list of mailserver services. The list can contain duplicate configurations published using different methods, like SRV resource records or Mozilla Autoconf.
      • getMailserverServices

        List<CompletableFuture<List<MailserverService>>> getMailserverServices​(EmailAddress.DomainPart domainPart)
        Get a list of MailserverServices representing a specific mailserver protocol configuration for submission and reception of emails. If the whole email address is known or should be used for the lookup, please use getMailserverServices(EmailAddress) instead.
        Parameters:
        domainPart - Email address domain part to get mailserver configurations for.
        Returns:
        A list of mailserver services. The list can contain duplicate configurations published using different methods, like SRV resource records or Mozilla Autoconf.