Class MBVResult


  • public class MBVResult
    extends Object
    • Method Detail

      • getEmailAddress

        public String getEmailAddress()
        This method to get the email address being validated.
        Returns:
        the email address being validated.
      • getDomain

        public String getDomain()
        This method to get the domain name of the email address.
        Returns:
        the domain name.
      • getIsFree

        public String getIsFree()
        This method to get whether the email address is from a free email provider.
        Returns:
        "true", "false" or "null" if not applicable.
      • getIsSyntax

        public String getIsSyntax()
        This method to get whether the email address is syntactically correct.
        Returns:
        "true", "false" or "null" if not applicable.
      • getIsDomain

        public String getIsDomain()
        This method to get whether the email domain has a valid MX record in the DNS entries.
        Returns:
        "true", "false" or "null" if not applicable.
      • getIsSMTP

        public String getIsSMTP()
        This method to get whether the mail server is responding to connection.
        Returns:
        "true", "false" or "null" if not applicable.
      • getIsVerified

        public String getIsVerified()
        This method to get whether the mail server confirms that the email address actually exists.
        Returns:
        "true", "false" or "null" if not applicable.
      • getIsServerDown

        public String getIsServerDown()
        This method to get whether the mail server is currently down or unresponsive.
        Returns:
        "true", "false" or "null" if not applicable.
      • getIsGreylisted

        public String getIsGreylisted()
        This method to get whether the mail server employs greylisting.
        Returns:
        "true", "false" or "null" if not applicable.
      • getIsDisposable

        public String getIsDisposable()
        This method to get whether the email address is from a disposable email provider.
        Returns:
        "true", "false" or "null" if not applicable.
      • getIsSuppressed

        public String getIsSuppressed()
        This method to get whether the email address is in our blacklist.
        Returns:
        "true", "false" or "null" if not applicable.
      • getIsRole

        public String getIsRole()
        This method to get whether the email address is a role-based email address.
        Returns:
        "true", "false" or "null" if not applicable.
      • getIsHighRisk

        public String getIsHighRisk()
        This method to get whether the email address contains high risk keywords.
        Returns:
        "true", "false" or "null" if not applicable.
      • getIsCatchall

        public String getIsCatchall()
        This method to get whether the email address is a catch-all address.
        Returns:
        "true", "false" or "null" if not applicable.
      • getMailboxValidatorScore

        public float getMailboxValidatorScore()
        This method to get the email reputation score.
        Returns:
        the email reputation score; score greater than 0.70 means good; score greater than 0.40 means fair; score less than or equal to 0.40 means poor.
      • getTimeTaken

        public float getTimeTaken()
        This method to get the execution time of the API in seconds.
        Returns:
        the time taken for the API execution in seconds.
      • getStatus

        public String getStatus()
        This method to get whether our system think the email address is valid based on the various result fields.
        Returns:
        "true", "false" or "null" if not applicable.
      • getCreditsAvailable

        public int getCreditsAvailable()
        This method to get the number of remaining query credits.
        Returns:
        the number of remaining query credits.
      • getErrorCode

        public String getErrorCode()
        This method to get the error code.
        Returns:
        the error code if an error occurred or blank if none.
      • getErrorMessage

        public String getErrorMessage()
        This method to get the error message.
        Returns:
        the error message if an error occurred or blank if none.
      • getVersion

        public String getVersion()
        This method to get component version.
        Returns:
        the component version.
      • toString

        public String toString()
        This method to return all the fields.
        Overrides:
        toString in class Object
        Returns:
        the result in a formatted string.