• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Validate / Clean user email addresses?

Mouth

Well-known member
#1
Anyone have, use, or are aware of a php script that will read a DB table with email addresses, and then validate/clean those addresses by making SMTP connection to the recipient mail server, check if the username/mailbox is valid, and either update the DB table for failures or provide a report?

I'd like to adapt such a PHP script to step through our XF users table, review/test each email address, and update the user record and set the status to bouncing on failure to validate.

I'm aware of 3rd party email list cleaning services charging $$ per 1k records etc, but I prefer to do it self/locally rather than provide to 3rd parties.