I am a software developer(PHP) and I have had to build some application which deals with users data and a major issue for me was emails validation and format like typos and so on.
I want to know how I can build an email cleaner and validation software, that can format the email as well as clean it, I want it to be an opensource software where people can upload their data and it gets cleaned and filtered.
I know there are some big guys that already do this, guys like; Mailchimp, Sendgrid and so on at a cost but I would like to build something like this and let everyone benefit from it. I would be able to cover the server cost to an extent.
I would really appreciate it if I could get the steps to follow in order to achieve this with PHP. e.g
1. $email = "john.doe@domain.com";
// Remove all illegal characters from email
$email = filter_var($email, FILTER_SANITIZE_EMAIL);
- .....
Thank You in advance.