This function answers the question whether a given string is a formally valid email address of the given type.
The special case of a null-string will give a return value of 0.
The function takes one varchar parameter that is assumed to resemble a single email address. For validation of a separated list of addresses, see the table valued function SoftadminUtil.Email_ValidateEmailAddressesOfType.
Returns 1 if the email address is formally valid and 0 otherwise.
Possible value | Description |
---|---|
International |
Will allow any character before and after the "@". Use this when the purpose of the email is storage only, as Softadmin will not be able to send emails to addresses with international domains. |
InternationalLocalPart |
Will allow any character before the "@". Use this when the purpose of the email is storage only, as Softadmin will not be able to send emails to addresses with international characters. |
Strict | Will only allow certain special characters, numbers, and characters from the english alphabet before the "@". |