Recent changes RSS feed
 

DNSEmailRule

Input validation rule that tests for a valid email address (see EmailRule) and verifies that the domain portion of an email address has a valid DNS “MX” record.

Example

$form->addRule (new DNSEmailRule ('fieldName'));

This example will check that the field named “fieldName” contains an email address that has a proper DNS-verified domain name.

Additional Information

 
wact/api/validation/rule/dnsemailrule.txt · Last modified: 2006/12/09 17:16
 
Hosting for this site donated by Procata PHP Development