Soenneker.Data.Email.Disposables 4.0.1055

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Soenneker.Data.Email.Disposables --version 4.0.1055
                    
NuGet\Install-Package Soenneker.Data.Email.Disposables -Version 4.0.1055
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Data.Email.Disposables" Version="4.0.1055" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Data.Email.Disposables" Version="4.0.1055" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Data.Email.Disposables" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Data.Email.Disposables --version 4.0.1055
                    
#r "nuget: Soenneker.Data.Email.Disposables, 4.0.1055"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.Data.Email.Disposables@4.0.1055
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Data.Email.Disposables&version=4.0.1055
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Data.Email.Disposables&version=4.0.1055
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

Soenneker.Data.Email.Disposables

A packaged newline-delimited list of domains associated with disposable or temporary email services.

Installation

dotnet add package Soenneker.Data.Email.Disposables

The package copies this file to the consuming application's output directory:

Resources/data-email-disposables.txt

It contains one domain per line. The package provides data only—there is no service, parser, validator, or dependency-injection registration.

Load the domain set

string path = Path.Combine(
    AppContext.BaseDirectory,
    "Resources",
    "data-email-disposables.txt");

HashSet<string> disposableDomains = File.ReadLines(path)
    .Select(static line => line.Trim())
    .Where(static line => line.Length > 0)
    .ToHashSet(StringComparer.OrdinalIgnoreCase);

Then compare a normalized domain, not the complete email address:

string domain = "mailinator.com";
bool isDisposable = disposableDomains.Contains(domain.TrimEnd('.'));

Parse and validate email addresses before extracting their domain. Convert internationalized domain names to their ASCII/Punycode form when required by your input pipeline, and remove a terminal DNS dot before lookup.

Operational guidance

The list is a snapshot shipped with the installed package version. Updating the NuGet package updates the output asset; an already deployed application does not download list changes at runtime.

Domain-list matching is heuristic. Providers appear, disappear, and change ownership, and legitimate domains can be listed accidentally. Use the result as one abuse signal rather than the sole reason to reject an account. Consider an override list and log decisions so false positives can be corrected.

Loading the file into a case-insensitive HashSet<string> provides fast repeated lookup at the cost of retaining the complete list in memory. For occasional checks, scanning the file or using a different indexed store may be more appropriate.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Soenneker.Data.Email.Disposables:

Package Downloads
Soenneker.Validators.Email.Disposable

Checks whether an email address uses a disposable or temporary domain.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.0.1064 0 9/9/2026
4.0.1063 67 9/8/2026
4.0.1062 130 9/7/2026
4.0.1061 125 9/6/2026
4.0.1060 113 9/5/2026
4.0.1059 160 9/4/2026
4.0.1058 206 9/3/2026
4.0.1057 137 9/2/2026
4.0.1056 111 9/1/2026
4.0.1055 135 8/31/2026
4.0.1054 275 8/30/2026
4.0.1053 175 8/29/2026
4.0.1052 158 8/29/2026
4.0.1051 121 8/28/2026
4.0.1049 225 8/25/2026
4.0.1048 100 8/24/2026
4.0.1047 114 8/23/2026
4.0.1046 130 8/22/2026
4.0.1045 294 8/21/2026
4.0.1044 188 8/20/2026
Loading failed