//We silently accept direct domain entries given instead of a mail
print_mx($mail);
} else {
echo "<h3>Error</h3>\n<p class='error'>$mail isn't a valid mail address.</p>";
echo "<h3>Improve this tool</h3><p>This code is open source, you can improve it. Fork it and add JS validation mail code. If the mail is wrong, apply the class .error to the input box.</p>";