[Valid_Email] checks the format of an email address. If the parameter appears to be a valid email address then True is returned.
This tag does not check whether the specified email address can actually receive mail. Use the [Email_Send] tag to send a test message.
The optional -Domain parameter allows a comma separated list of top-level domains to be specified. Only email addresses in these domains will be returned as valid. For example, -Domain='com' will only return user@*.com addresses as valid.
The optional -StandardDomains parameter will check that the email address is defined in one of the standard top-level domains. This is equivalent to -Domain='com,gov,mil,net,org,int'.
The optional -HostName parameter allows a host name to be specified. Only email address on that host will be returned as valid. For example -HostName='example.com' will only return user@example.com addresses as valid.
[Valid_Email: 'Email Address']
[Valid_Email: 'Email Address', -Domain='Domain']
[Valid_Email: 'Email Address', -StandardDomains]
Valid_Email: 'Email Address', -HostName='Host Name']
Use the [Valid_Email] tag. The following example checks whether an email address administrator@example.com is valid.
[Valid_Email: 'administrator@example.com']
True
Tag Link | [Valid_Email] | Category | Utility |
---|---|---|---|
Type | Substitution | Data Source | Any |
Support | Preferred | Version | 3.0 |
Output Type | Boolean | Security | None |
Implementation | LCAPI | Sets | Lasso 7.0, Lasso 6.0, Lasso 5.0,LDML3x |
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft