Interface MailserverService

    • Method Detail

      • getProtocol

        Protocol getProtocol()
        Returns the protocol of the mailserver service. This can be SMTP for submission or IMAP or POP3 for reception.
        Returns:
        protocol of the mailserver service
      • getSocketType

        SocketType getSocketType()
        Returns the socket type od the mailserver configuration. This can eiter be PLAIN, STARTTLS or SSL.
        Returns:
        Socket type of the service or null if unknown
      • getHost

        String getHost()
        Host URL of the mailserver service.
        Returns:
        Host URL. May be null if this configuration should not be used / the protocol is not supported!
      • getPort

        Integer getPort()
        Port of the mailserver service.
        Returns:
        Port. May be null if this configuration should not be used / the protocol is not supported!
      • getConfigurationMethod

        ConfigurationMethod getConfigurationMethod()
        Returns the configuration method over which the mailserver configuration has been discovered.
        Returns:
        Mailserver configuration.