One of the scripts I am writing uses the CFMAIL tag to send a confirmation email back to the user with their information.
Since this is on an internal intranet we have a list of all approved email addresses within our system.
Our email consists of first.last@domain.com - we have been able to pull the first.last out of the submitted form field using spanexcluding(form.email,"@"
and then testing for a valid email address.
However, we also need to test the @domain.com portion to make sure that people spell it right. This has been an issue for us in the past unfortunately - people who can't spell the domain name, let alone their own name properly.
Thanks!
Roger Pray
Systems Analyst
MIBH
Since this is on an internal intranet we have a list of all approved email addresses within our system.
Our email consists of first.last@domain.com - we have been able to pull the first.last out of the submitted form field using spanexcluding(form.email,"@"

However, we also need to test the @domain.com portion to make sure that people spell it right. This has been an issue for us in the past unfortunately - people who can't spell the domain name, let alone their own name properly.
Thanks!
Roger Pray
Systems Analyst
MIBH