PHP function to verify if the email is valid by connecting to the mail server and checking the result.