You can also validate the e-mail fields using the email datatype:
{from:email(text) ....} {to:email(text) ....}
See the ad_form Quick Reference
Ryan