{"id":37045730,"url":"https://github.com/flaviodamaiajr/mailtrap","last_synced_at":"2026-01-14T05:17:04.803Z","repository":{"id":40688702,"uuid":"507951777","full_name":"flaviodamaiajr/mailtrap","owner":"flaviodamaiajr","description":"📬 Mailtrap for .NET - Simple library to optimize email sending tests using Mailtrap Sandbox Service. ⚡","archived":false,"fork":false,"pushed_at":"2023-05-14T23:21:06.000Z","size":64,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-28T07:19:01.653Z","etag":null,"topics":["dotnet","dotnet-core","dotnet-standard","mail","mailtrap","sandbox","sendmail","tests"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flaviodamaiajr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-06-27T14:54:33.000Z","updated_at":"2022-06-30T19:49:04.000Z","dependencies_parsed_at":"2022-09-01T13:42:36.546Z","dependency_job_id":null,"html_url":"https://github.com/flaviodamaiajr/mailtrap","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/flaviodamaiajr/mailtrap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flaviodamaiajr%2Fmailtrap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flaviodamaiajr%2Fmailtrap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flaviodamaiajr%2Fmailtrap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flaviodamaiajr%2Fmailtrap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flaviodamaiajr","download_url":"https://codeload.github.com/flaviodamaiajr/mailtrap/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flaviodamaiajr%2Fmailtrap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28410356,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T01:52:23.358Z","status":"online","status_checked_at":"2026-01-14T02:00:06.678Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dotnet","dotnet-core","dotnet-standard","mail","mailtrap","sandbox","sendmail","tests"],"created_at":"2026-01-14T05:17:04.042Z","updated_at":"2026-01-14T05:17:04.797Z","avatar_url":"https://github.com/flaviodamaiajr.png","language":"C#","funding_links":["https://www.buymeacoffee.com/flaviodamaiajr"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"#-technologies\"\u003eTechnologies\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;|\u0026nbsp;\u0026nbsp;\u0026nbsp;\n  \u003ca href=\"#-project\"\u003eProject\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;|\u0026nbsp;\u0026nbsp;\u0026nbsp;\n  \u003ca href=\"#-services\"\u003eServices\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;|\u0026nbsp;\u0026nbsp;\u0026nbsp;\n  \u003ca href=\"#-license\"\u003eLicense\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.nuget.org/packages/Mailtrap/\" target=\"_blank\"\u003e\u003cimg alt=\"Version\" src=\"https://img.shields.io/nuget/v/Mailtrap.svg?label=NuGet\u0026message=Version\u0026color=8257E5\u0026labelColor=FFFFFF \"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.nuget.org/packages/Mailtrap/\" target=\"_blank\"\u003e\u003cimg alt=\"Downloads\" src=\"https://img.shields.io/nuget/dt/Mailtrap.svg?label=Downloads\u0026color=8257E5\u0026labelColor=FFFFFF\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/flaviodamaiajr/mailtrap/pulls\"\u003e\u003cimg alt=\"PRs welcome!\" src=\"https://img.shields.io/static/v1?label=PRs\u0026message=welcome\u0026color=8257E5\u0026labelColor=FFFFFF\" /\u003e\u003c/a\u003e\n  \u003ca href=\"#-license\"\u003e\u003cimg alt=\"License\" src=\"https://img.shields.io/static/v1?label=license\u0026message=MIT\u0026color=8257E5\u0026labelColor=FFFFFF\" /\u003e\u003c/a\u003e\n\n\u003cp\u003e\n\n\u003cbr\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"Event Platform\" src=\".github/Mailtrap-Cover.png\" width=\"100%\"\u003e\n\u003c/p\u003e\n\n## 💻 Project\n\nThe main idea of this project is to facilitate tests using the Mailtrap Sandbox Service during the development of features that use email sending (for .NET only).\n\n## 🚀 Technologies\n\nThis project is being developed with the following technologies:\n\n- \u003ca href=\"https://docs.microsoft.com/en-us/dotnet/standard/net-standard?tabs=net-standard-2-1\" alt=\".NET Standard\" target=\"_blank\"\u003e.NET Standard 2.1\u003c/a\u003e\n- \u003ca href=\"https://docs.microsoft.com/en-us/aspnet/core/release-notes/aspnetcore-6.0?view=aspnetcore-6.0\" alt=\".NET Core 6.0\" target=\"_blank\"\u003e.NET Core 6.0\u003c/a\u003e\n- \u003ca href=\"https://nunit.org/\" alt=\"NUnit\" target=\"_blank\"\u003eNUnit 🧪\u003c/a\u003e\n\n## 🤝 Services\n\n- \u003ca href=\"https://mailtrap.io/\" alt=\"Mailtrap - Email Sandbox Service\" target=\"_blank\"\u003eMailtrap - Email Sandbox Service\u003c/a\u003e\n\n## ℹ️ Requirements\n\nIt's necessary to create an account on Mailtrap.io to use this library.\n\n## 👨‍💻 How to use\n\n### Add package\n\nIt's possible to add using .NET CLI or Package Manager.\n\n#### .NET CLI\n\n```\ndotnet add package Mailtrap\n```\n\n#### Package Manager\n\n```\nPM\u003e Install-Package Mailtrap\n```\n\nCheck other alternatives on \u003ca href=\"https://www.nuget.org/packages/Mailtrap/\"\u003eNuGet.org\u003c/a\u003e\n\n### Sample Code\n\n```csharp\nusing Mailtrap.Source.Models;\n\nvar mailtrap = new MailtrapSender(\"your username\", \"your password\");\n\nvar email = new Email(\n    \"to@mailtrap.io\",\n    \"from@mailtrap.io\",\n    \"Sending e-mail test using Mailtrap for .NET 📬\",\n    \"Ahoooy! It really works! 😎\");\n\nmailtrap.Send(email);\n```\n\nJust check our \u003ca href=\"https://github.com/flaviodamaiajr/mailtrap/wiki\" alt=\"Mailtrap Wiki\"\u003eWiki\u003c/a\u003e for more details and samples of how to use **Mailtrap** in your applications.\n\n## 📝 License\n\nThis project is under the MIT license. See the file [LICENSE](LICENSE) for more details.\n\n## ☕️ Support\n\n\u003cp\u003e\u003ca href=\"https://www.buymeacoffee.com/flaviodamaiajr\"\u003e \u003cimg align=\"left\" src=\"https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png\" height=\"50\" width=\"210\" alt=\"flaviodamaiajr\" /\u003e\u003c/a\u003e\u003c/p\u003e\u003cbr\u003e\u003cbr\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflaviodamaiajr%2Fmailtrap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflaviodamaiajr%2Fmailtrap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflaviodamaiajr%2Fmailtrap/lists"}