abstract_api.email_validation.email_validation module#

class abstract_api.email_validation.email_validation.EmailValidation(api_key: str | None = None)[source]#

Bases: BaseService[EmailValidationResponse]

AbstractAPI email validation and verification service.

Used to validate and verify an email address.

Attributes:

_subdomain: Email validation service subdomain.

check(email: str, auto_correct: bool | None = False) EmailValidationResponse[source]#

Validates and verifies an email address.

Args:

email: An email address to be validated and verified. auto_correct: Whether the given email address should be

autocorrected and returned in API response.

Returns:

EmailValidationResponse representing API call response.