basic email address check - 09/21/2002 8:17 PM
For the first time ever I sent out a one-time mass mailing to my board's members to tell them to log in to refresh their accounts or be purged after three months of inactivity.
I got HUNDREDS of undeliverable bounce-backs from the mailing, because people had put things like "I dont have one" in the email address field, or "justme@hotmail" or "justme.hotmail.com" and hundreds of similar bad entries.
The register routine should do a simple check on the format of the email address and check that there are no spaces, one "@", at least one ".", and an acceptable suffix like "com" "net" "org" "ca" "uk" "ru" and all the other common ones. And a minimum of 4 or 5 characters long.
Asking someone to enter a correct email address would cut waaaaaay down on the number of "dead" memberships in everyone's boards.
Would this be hard to do in PHP?
I got HUNDREDS of undeliverable bounce-backs from the mailing, because people had put things like "I dont have one" in the email address field, or "justme@hotmail" or "justme.hotmail.com" and hundreds of similar bad entries.
The register routine should do a simple check on the format of the email address and check that there are no spaces, one "@", at least one ".", and an acceptable suffix like "com" "net" "org" "ca" "uk" "ru" and all the other common ones. And a minimum of 4 or 5 characters long.
Asking someone to enter a correct email address would cut waaaaaay down on the number of "dead" memberships in everyone's boards.
Would this be hard to do in PHP?