vboctor / disposable_email_checker

Project that tracks the list of domains that are open domains or disposable domains with libraries in multiple languages to consume such lists.
http://www.mantishub.com
MIT License
45 stars 19 forks source link

add ability to check domains against a custom file #17

Closed AgentCosmic closed 5 years ago

AgentCosmic commented 7 years ago

15

AgentCosmic commented 7 years ago

This will allow users to add their own domains without affecting the source code or waiting until a pull request is complete. This should be useful to many users since it's often used to fight spam and one can't wait a few days as it would make one vulnerable.

vboctor commented 5 years ago

Thanks @AgentCosmic for your contribution.

I just checked in a change that enables adding / removing an array of domains to the black list. The purpose of this PR can be achieved by loading file into array and then calling this method.