AfterShip / email-verifier

:white_check_mark: A Go library for email verification without sending any emails.
MIT License
1.18k stars 149 forks source link

Initiate disposable domain list from the update URL #84

Closed kriptor closed 1 year ago

kriptor commented 1 year ago

Hi,

it would be really nice if you could make updateDisposableDomains optionally triggered when EnableAutoUpdateDisposable is called. This way one could initialize the map immediately instead of waiting for 24h. I know there is AddDisposableDomains and one could fetch from the same source and push it in... but due to this it's then permanent which some may not want.

Cheers!

lryong commented 1 year ago

Hi @kriptor , the lates version of email-verifier has supported updating disposable domains immediately once EnableAutoUpdateDisposable(), I think it will meet your needs, Hope you enjoy it!