input4mips_validation.validation.email#
input4mips_validation.validation.email
#
Validation of emails
validate_email(email)
#
Validate that a value might be a valid email
This won't catch everything (so use with some caution), but it will catch things which are clearly wrong.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
email
|
str
|
Email to validate |
required |
Raises:
| Type | Description |
|---|---|
ValueError
|
|