![]() |
VOOZH | about |
dotnet add package EmailSwitch --version 2.0.1
NuGet\Install-Package EmailSwitch -Version 2.0.1
<PackageReference Include="EmailSwitch" Version="2.0.1" />
<PackageVersion Include="EmailSwitch" Version="2.0.1" />Directory.Packages.props
<PackageReference Include="EmailSwitch" />Project file
paket add EmailSwitch --version 2.0.1
#r "nuget: EmailSwitch, 2.0.1"
#:package EmailSwitch@2.0.1
#addin nuget:?package=EmailSwitch&version=2.0.1Install as a Cake Addin
#tool nuget:?package=EmailSwitch&version=2.0.1Install as a Cake Tool
EmailSwitch is an open-source C# class library that provides a wrapper around existing services that are used to verify emails and send messages. The service stores information in a MongoDb database that you configure using the package MongoDbService
We welcome contributions! If you find a bug, have an idea for improvement, please submit an issue or a pull request on GitHub.
To include EmailSwitch in your project, install the NuGet package:
dotnet add package EmailSwitch
Then in your appsettings.json add the following sample configuration and change the values to match the details of your credentials to the various services.
"EmailSwitchSettings": {
"OtpLength": 6,
"Controls": {
"MaxRoundRobinAttempts": 2,
"Priority": [ "SendGrid" ],
"MaximumFailedAttemptsToVerify": 3,
"SessionTimeoutInSeconds": 240
},
"SendGrid": {
"From": "abc@xyz.com",
"Password": "MovedToSecret"
}
}
After the above is done, you can just Dependency inject the EmailSwitch in your C# class.
TODO
Visit our GitHub repository for the latest updates, documentation, and community contributions. https://github.com/prmeyn/EmailSwitch
This project is licensed under the GNU AFFERO GENERAL PUBLIC LICENSE
Happy coding! 🚀🌐📚
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.0.0 | 266 | 11/25/2025 |
| 5.0.0 | 572 | 1/8/2025 |
| 4.0.1 | 256 | 8/3/2024 |
| 4.0.0 | 189 | 8/3/2024 |
| 3.0.3 | 203 | 8/2/2024 |
| 3.0.2 | 177 | 8/2/2024 |
| 3.0.1 | 178 | 8/2/2024 |
| 3.0.0 | 163 | 8/2/2024 |
| 2.0.4 | 186 | 8/2/2024 |
| 2.0.3 | 182 | 8/2/2024 |
| 2.0.2 | 205 | 7/29/2024 |
| 2.0.1 | 194 | 7/28/2024 |
| 2.0.0 | 203 | 7/28/2024 |
| 1.1.0 | 202 | 7/28/2024 |