Official C# SDK for the Finturest Email API - supports .NET Standard 2.0+ and all modern .NET versions.
This SDK provides a simple and reliable way to integrate Finturest Email API functionality into your .NET applications. It supports .NET Standard 2.0 and later, ensuring compatibility with .NET Core and the latest .NET releases.
-
Accurate Format Validation: Ensures email addresses are correctly structured according to RFC standards before processing.
-
Domain Reliability Checks: Verifies that email domains are properly configured with MX records to improve deliverability and reduce bounce rates.
-
Disposable and Free Email Detection: Identifies temporary and free email providers to help prevent fraud, spam, fake accounts, and low-quality signups.
-
Role-Based Email Filtering: Flags generic role-based addresses like
info@
,support@
, etc., to improve user targeting and communication quality.
Email API helped us block disposable and invalid emails at sign-up, improving user quality and saving time. It's a simple but powerful tool in our onboarding flow. — Plainzer, Dividend Tracker
Using the .NET Core command-line interface (CLI) tools:
dotnet add package Finturest.Email
Using the NuGet Command Line Interface (CLI):
nuget install Finturest.Email
Using the Package Manager Console:
Install-Package Finturest.Email
From within Visual Studio:
- Open the Solution Explorer.
- Right-click on a project within your solution.
- Click on Manage NuGet Packages...
- Click on the Browse tab and search for "Finturest.Email".
- Click on the Finturest.Email package, select the appropriate version in the right-tab and click Install.
To use the Finturest.Email
client, register it in your application's dependency injection container using AddFinturestEmail
. This configures the services required to communicate with the Finturest Email API.
var services = new ServiceCollection();
services.AddFinturestEmail(options =>
{
options.ApiKey = "YOUR_API_KEY";
});
Note
IEmailServiceClient
is registered in the DI container and should be resolved via dependency injection.
In ASP.NET Core applications, it's recommended to inject it through constructor injection.
Note
The abstractions for the Finturest Email API client are provided in a separate package namedFinturest.Email.Abstractions
.
You can reference this package in your business layer to avoid a tight dependency on the implementation.
Only the root application or composition root should reference the fullFinturest.Email
package that contains the implementation.
To validate an email address using the Finturest Email API, create a ValidateEmailRequest
and call the ValidateEmailAsync
method on the IEmailServiceClient
.
var serviceProvider = services.BuildServiceProvider();
var emailServiceClient = serviceProvider.GetRequiredService<IEmailServiceClient>();
var request = new ValidateEmailRequestModel
{
Email = "[email protected]"
};
var result = await emailServiceClient.ValidateEmailAsync(request);
Console.WriteLine($"Deliverable: {result.Deliverable}.");
Note
In production applications, avoid usingBuildServiceProvider()
manually.
Instead, use constructor injection to getIEmailServiceClient
from the framework’s dependency injection system.
To get access to the Finturest Email API or subscribe to a plan, please visit the subscription page. An active subscription is required to access the API in production.
An API key is required to use the SDK and can be generated on your Finturest dashboard:
For full API reference and usage guides, please visit the official Finturest Email API documentation:
For support, questions, or inquiries, please contact us at: [email protected]