DisposableEmail (disposable_email v0.5.3)
View SourceDisposable Email Verification Service
Summary
Functions
Return the blocklist count.
Returns a specification to start this module under a supervisor.
Check if an email is from a disposable domain
Reseed the blocklist from the remote repository.
Functions
@spec blocklist_size() :: non_neg_integer()
Return the blocklist count.
Returns a specification to start this module under a supervisor.
See Supervisor.
Check if an email is from a disposable domain
DisposableEmail.disposable?("user@tempmail.com")
=> true
DisposableEmail.disposable?("user@gmail.com")
=> false
@spec reload() :: :ok
Reseed the blocklist from the remote repository.