Example #1
0
def _validate_email(address):
    if not validation.validate_email_address(address):
        raise exceptions.ValidationException(
            "Address {} is not of correct format".format(address))
def _validate_email(address):
    if not validation.validate_email_address(address):
        raise exceptions.ValidationException("Address {} is not of correct format".format(address))