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

Custom file or method for adding a domain #15

Closed AgentCosmic closed 5 years ago

AgentCosmic commented 7 years ago

We should be able to maintain our own list of domains that we want to exclude without touching the data files.

Thanks.

vboctor commented 7 years ago

Can you provide an example of what you are trying to achieve? I'm unclear about the scenario for the request.

AgentCosmic commented 7 years ago

Something like DisposableEmailChecker::add_data_source('domains.txt'); or DisposableEmailChecker::add_domains([...domains]);

vboctor commented 5 years ago

I have opted for implementing the add_domains(array) and remove_domains(array). Thanks for the suggestion.