{"id":22018307,"url":"https://github.com/skillmaker-dev/asp.net-emailing-with-minimal-api","last_synced_at":"2026-05-19T14:39:55.306Z","repository":{"id":54379532,"uuid":"522248609","full_name":"skillmaker-dev/ASP.NET-Emailing-with-minimal-api","owner":"skillmaker-dev","description":"Sending Emails in ASP.NET 6 \u0026 Minimal apis Apps using Gmail smtp","archived":false,"fork":false,"pushed_at":"2022-08-07T15:48:06.000Z","size":13,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T09:35:22.285Z","etag":null,"topics":["asp-net","asp-net-core","email","email-sender","smtp"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/skillmaker-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-08-07T15:21:19.000Z","updated_at":"2024-01-29T15:17:31.000Z","dependencies_parsed_at":"2022-08-13T14:00:23.921Z","dependency_job_id":null,"html_url":"https://github.com/skillmaker-dev/ASP.NET-Emailing-with-minimal-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/skillmaker-dev/ASP.NET-Emailing-with-minimal-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skillmaker-dev%2FASP.NET-Emailing-with-minimal-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skillmaker-dev%2FASP.NET-Emailing-with-minimal-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skillmaker-dev%2FASP.NET-Emailing-with-minimal-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skillmaker-dev%2FASP.NET-Emailing-with-minimal-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skillmaker-dev","download_url":"https://codeload.github.com/skillmaker-dev/ASP.NET-Emailing-with-minimal-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skillmaker-dev%2FASP.NET-Emailing-with-minimal-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272495605,"owners_count":24944350,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-28T02:00:10.768Z","response_time":74,"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":["asp-net","asp-net-core","email","email-sender","smtp"],"created_at":"2024-11-30T05:11:25.918Z","updated_at":"2026-05-19T14:39:55.265Z","avatar_url":"https://github.com/skillmaker-dev.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ASP.NET 6 Emailing with Minimal APIs\nSending Emails in ASP.NET 6 \u0026amp; Minimal apis Apps using Gmail smtp\n\nTo successfuly start the project we have to follow the following steps:\n\n### Enable 2 Step-Verification : (skip this part if you already have 2FA enabled)\nGo to https://myaccount.google.com/security\n\n- Then under the “Signing in to Google” section, we can see that 2-Step Verification is off – so we have to click on it\n- Click Get Started, provide your password, and confirm the code by providing a mobile number\n- If everything goes well, you should see the Turn On option, so just click on it\n\n### Add app password :\n\nUnder 2Step-Verification, You should see App Passwords\n\n- Click on it\n- Provide a password\n- Click the Select app menu and choose the Other (Custom Name) option\n- Now, all we have to do is to provide any name we like for our app and click the Generate button\n- Copy the generated password and then paste it in ```EmailConfiguration:Password``` in ```appsettings.json``` in our **ASP.NET Project**\n- Type your email in ```EmailConfiguration:From``` and ```EmailConfiguration:Username``` in ```appsettings.json```\n\n![image](https://user-images.githubusercontent.com/64654197/183298855-755fe4e7-0eba-49ef-a4b9-afaa780d2f7f.png)\n\n### Now you can run your app using CTRL + F5 and send your email using POSTMAN or INSOMNIA\n\n![image](https://user-images.githubusercontent.com/64654197/183299140-8fef9259-f457-4606-a525-614c2ad79560.png)\n\n### Don't forget to add the recipient email in the url parameter:\n![image](https://user-images.githubusercontent.com/64654197/183299225-d30dc5d5-7c05-40ef-bdbc-9b0a1170c1ec.png)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskillmaker-dev%2Fasp.net-emailing-with-minimal-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskillmaker-dev%2Fasp.net-emailing-with-minimal-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskillmaker-dev%2Fasp.net-emailing-with-minimal-api/lists"}