Package com.mailboxvalidator
Class MBVResult
- java.lang.Object
-
- com.mailboxvalidator.MBVResult
-
public class MBVResult extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBaseEmailAddress()This method to get the base email address of the email address being validated.intgetCreditsAvailable()This method to get the number of remaining query credits.StringgetDomain()This method to get the domain name of the email address.StringgetEmailAddress()This method to get the email address being validated.StringgetErrorCode()This method to get the error code.StringgetErrorMessage()This method to get the error message.StringgetIsCatchall()This method to get whether the email address is a catch-all address.StringgetIsDisposable()This method to get whether the email address is from a disposable email provider.StringgetIsDMARCEnforced()This method to get whether the email domain is enforcing DMARC.StringgetIsDomain()This method to get whether the email domain has a valid MX record in the DNS entries.StringgetIsFree()This method to get whether the email address is from a free email provider.StringgetIsGreylisted()This method to get whether the mail server employs greylisting.StringgetIsHighRisk()This method to get whether the email address contains high risk keywords.StringgetIsRole()This method to get whether the email address is a role-based email address.StringgetIsServerDown()This method to get whether the mail server is currently down or unresponsive.StringgetIsSMTP()This method to get whether the mail server is responding to connection.StringgetIsStrictSPF()This method to get whether the email domain is using strict SPF.StringgetIsSuppressed()This method to get whether the email address is in our blacklist.StringgetIsSyntax()This method to get whether the email address is syntactically correct.StringgetIsVerified()This method to get whether the mail server confirms that the email address actually exists.floatgetMailboxValidatorScore()This method to get the email reputation score.StringgetStatus()This method to get whether our system think the email address is valid based on the various result fields.floatgetTimeTaken()This method to get the execution time of the API in seconds.StringgetVersion()This method to get component version.StringgetWebsiteExist()This method to get whether the email domain is a reachable website.StringtoString()This method to return all the fields.
-
-
-
Method Detail
-
getEmailAddress
public String getEmailAddress()
This method to get the email address being validated.- Returns:
- the email address being validated.
-
getBaseEmailAddress
public String getBaseEmailAddress()
This method to get the base email address of the email address being validated.- Returns:
- the base email address of 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.
-
getIsDMARCEnforced
public String getIsDMARCEnforced()
This method to get whether the email domain is enforcing DMARC.- Returns:
- "true", "false" or "null" if not applicable.
-
getIsStrictSPF
public String getIsStrictSPF()
This method to get whether the email domain is using strict SPF.- Returns:
- "true", "false" or "null" if not applicable.
-
getWebsiteExist
public String getWebsiteExist()
This method to get whether the email domain is a reachable website.- 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.
-
-