1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00
Files
archived-web-php/include/check_email_func.php
Peter Kokot e235f79473 Trim trailing whitespace
This patch cleans all redundant trailing whitespace across the
repository except for the icalendar files.
2018-10-17 10:51:08 +02:00

29 lines
873 B
PHP

<html>
<head><title>email validation test</title></head>
<body>
<?php
require getcwd()."/email-validation.inc";
$test_add = array (
"wrong-email-address@lists.php.net","jmcastagnetto@yahoo.com",
"some-wrong@asdas.com", "jcastagnetto-NO-SPAM@yahoo.com",
"jcastagnetto@NoSpam-yahoo.com", "jmcastagnetto@chek2.com",
"jcastagnetto-i-hate-spam@NOSPAMyahoo.com", "jesusmc@scripps.edu",
"asasasd324324@php.net", "jcastagnetto-delete-this-@yahoo.com",
"wrong-address-with@@@@-remove_me-and-some-i-hate_SPAM-stuff");
while (list(,$v) = each($test_add)) {
echo "The address: $v (".clean_AntiSpam($v).") is";
if (!is_emailable_address(clean_AntiSPAM($v)))
echo " not";
echo " valid\n<br>";
}
?>
<hr>
The jesusmc@scripps.edu, jmcastagnetto@yahoo.com and jcastagnetto@yahoo.com
should validate OK as of 2001-02-28 --- JMC
</body>
</html>