If you use this code, you will be able to validate a submitted e-mail address. It checks for an @ character, and actually checks the DNS of the e-mail address domain to make sure it has a mail server.
Platform(s): Linux, Windows, FreeBSD, Mac OSX, Sun Solaris