alexbenfica / mautic_name_sanitizer

Simple PHP script to fix case and other common issues with names on email lists

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mautic Name Sanitizer

Very simple script to fix common issues with names on email lists.

As the emails and names come from many different sources like forms, csv files, manual inputs and other... it is not always possible to spot and avoid these mistakes before they hit the database.

It will fetch the entire roll of user names from Mautic database but will only update the ones that actually will need to change.

It is intended to run periodically via cron in order to keep the names always clean!

The first time you run this... it will take more time as more names will need to be updated. The subsequent runs will take just a couple of seconds (tested with database of 56k items and a single core machine).

Simply add the database information to config.ini and run the script from command line.

About

Simple PHP script to fix case and other common issues with names on email lists


Languages

Language:PHP 93.6%Language:Dockerfile 6.4%