Class SingleValidation


  • public class SingleValidation
    extends Object
    • Constructor Detail

      • SingleValidation

        public SingleValidation​(String apikey)
    • Method Detail

      • ValidateEmail

        public MBVResult ValidateEmail​(String EmailAddress)
                                throws IOException
        This function to validate an email address using the MailboxValidator API
        Parameters:
        EmailAddress - The email address to validate.
        Returns:
        MailboxValidator API results
        Throws:
        IOException - If API call fails.
      • DisposableEmail

        public MBVResult DisposableEmail​(String EmailAddress)
                                  throws IOException
        This function to check if an email address is from a disposable email provider
        Parameters:
        EmailAddress - The email address to check.
        Returns:
        MailboxValidator API results
        Throws:
        IOException - If API call fails.
      • FreeEmail

        public MBVResult FreeEmail​(String EmailAddress)
                            throws IOException
        This function to check if an email address is from a free email provider
        Parameters:
        EmailAddress - The email address to check.
        Returns:
        MailboxValidator API results
        Throws:
        IOException - If API call fails.