PHP Classes

PHP Mailing List Sanitizer: Validate a list of email addresses

Recommend this page to a friend!
  Info   View files Example   View files View files (16)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 434 All time: 6,271 This week: 129Up
Version License PHP version Categories
pmls 1.0.0Custom (specified...5Email, PHP 5, Validation
Description 

Author

This package can validate a list of email addresses.

It can take a list of email addresses from an array or load a list of email addresses from a given CSV file .

The class validate each email address and write a CSV file with the addresses that are valid.

Recommendations

I need a bulk email verifier php script
I need php email verifier script to install on server

email validation
Bulk email validation

Innovation Award
PHP Programming Innovation award winner
November 2017
Winner
Many applications require that users enter email addresses that are valid during registration, so the users can be contacted by email.

However, when you need to use email addresses of users already registered in the past, you may need a solution to validate many addresses of existing registered users.

This class can validate many email addresses of many users in a single process.

Manuel Lemos
Picture of zinsou A.A.E.Mo´se
  Performance   Level  
Name: zinsou A.A.E.Mo´se is available for providing paid consulting. Contact zinsou A.A.E.Mo´se .
Classes: 50 packages by
Country: Benin Benin
Age: 33
All time rank: 6831 in Benin Benin
Week rank: 17 Up1 in Benin Benin Equal
Innovation award
Innovation award
Nominee: 23x

Winner: 2x

Example

<html>
<head>
<title>Test for PHP MailingList Sanitizer</title>
</head>
<body>
<h1 align="center">Test for PHP MailingList Sanitizer</h1>
<hr>
<?php
   
require_once('EmailChecker.class.php');
   
$x=new EmailChecker();
    echo
'<pre>';
    echo
'<h2>Uploaded file</h2>';
    if( isset(
$_POST ) && $_SERVER['REQUEST_METHOD'] == 'POST' ) {
       
print_r($x->Uprocess(time().'.csv'));//uploaded file sanitizer...sanitize and save to timestamp.csv(you can choose your own name provided that the file doesn't exist)
   
}
   
   

?>
<form method="post" enctype="multipart/form-data">
        <input type="file" name="file">
        <input type="submit" value="Submit">
    </form>
<?php
/*
        echo '<h2>Local File</h2>';
        print_r($x->LFprocess('r.csv',time().'.csv'));//local file sanitizer...sanitize and save to timestamp.csv(you can choose your own name provided that the file doesn't exist)
       
       
        echo '<h2>Data in Array</h2>';
        $ar=array('leizmo@gmail.com','corzinsou@gmail.com','mosewinsou@yul.com','schneider@machin.net','moinsou@yahoo.com');
        print_r($x->ARprocess($ar,time().'.csv'));//array sanitizer...sanitize and save to timestamp.csv(you can choose your own name provided that the file doesn't exist)
*/
       
echo'</pre>';
       
       
//ps: Omitting the parameter name will make all the functions just return the array of valid and broken and avoid saving in file.
?>
<hr>
</body>
</html>


  Files folder image Files  
File Role Description
Plain text file DNS.php Class class source
Plain text file EmailChecker.class.php Class class source
Accessible without login Plain text file emaildomainswhitelist.csv Data auxilliary data
Plain text file email_validation.php Class class source
Accessible without login Plain text file fetchdns.c Aux. auxilliary C script
Accessible without login Plain text file getmxrr.php Aux. auxilliary script
Accessible without login Plain text file invalidemaildomains.csv Data auxilliary data
Accessible without login Plain text file invalidemailservers.csv Data auxilliary data
Accessible without login Plain text file invalidemailusers.csv Data auxilliary data
Accessible without login Plain text file license.txt Lic. license file
Accessible without login Plain text file makebcc.bat Aux. command windows file
Accessible without login Plain text file makegcc.bat Aux. command windows file
Accessible without login Plain text file r.csv Data auxilliary data
Accessible without login Plain text file readme.txt Doc. license file
Accessible without login Plain text file rrcompat.php Aux. auxilliary script
Accessible without login Plain text file test_mailinglist_sanitizer.php Example example script

 Version Control Unique User Downloads Download Rankings  
 0%
Total:434
This week:0
All time:6,271
This week:129Up