This code is used to validate that an email address can actually accept email. Call validateEmail() and pass it in an email address string like "jon@clearink.com". It will return an array. $return[0] is whether it was a valid email or not and $return[1] is the SMTP error message if there was
<?php
/*
By: Jon S. Stevens jon@clearink.com
Copyright 1998-1999 Jon S. Stevens, Clear Ink
This code has all the normal disclaimers.
It is free for any use, just keep the credits intact.