---
title: "Swimburger - Blog - SMTP"
description: "Swimburger.net is a blog about .NET, cloud, web development, and whatever comes across Swimburger's plate. Swimburger.net is run by Niels Swimberghe."
canonical: "https://swimburger.net/blog/smtp"
---

[

<picture><img class="blog-post-card__image" src="/cdn-cgi/image/width=250,format=auto,quality=90,height=250,fit=cover,gravity=0.5x0.5/media/0y4b3pnt/sendgrid-logomark.png" srcset="/cdn-cgi/image/width=250,format=auto,quality=90,height=250,fit=cover,gravity=0.5x0.5/media/0y4b3pnt/sendgrid-logomark.png 250w, /cdn-cgi/image/width=375,format=auto,quality=90,height=375,fit=cover,gravity=0.5x0.5/media/0y4b3pnt/sendgrid-logomark.png 375w, /cdn-cgi/image/width=500,format=auto,quality=90,height=500,fit=cover,gravity=0.5x0.5/media/0y4b3pnt/sendgrid-logomark.png 500w" sizes="250px" width="250" height="250" alt="Twilio SendGrid logo" decoding="async" loading="lazy" style="background-color:#fff"></picture>

## How to send Email in C# .NET using SMTP and SendGrid

3/8/2022 - .NET

You can use the SendGrid APIs to send emails, but you can also use SMTP with SendGrid. Learn how to send emails using SMTP, SendGrid C# .NET



](/blog/dotnet/how-to-send-email-in-csharp-dotnet-using-smtp-and-sendgrid)[

<picture><img class="blog-post-card__image" src="/cdn-cgi/image/width=250,format=auto,quality=90,height=250,fit=cover,gravity=0.5x0.5/media/alanyim4/smtp4dev-selenium-email-capture-square.png" srcset="/cdn-cgi/image/width=250,format=auto,quality=90,height=250,fit=cover,gravity=0.5x0.5/media/alanyim4/smtp4dev-selenium-email-capture-square.png 250w, /cdn-cgi/image/width=375,format=auto,quality=90,height=375,fit=cover,gravity=0.5x0.5/media/alanyim4/smtp4dev-selenium-email-capture-square.png 375w, /cdn-cgi/image/width=500,format=auto,quality=90,height=500,fit=cover,gravity=0.5x0.5/media/alanyim4/smtp4dev-selenium-email-capture-square.png 500w" sizes="250px" width="250" height="250" alt=".NET Bot holding a letter" decoding="async" loading="lazy" style="background-color:#fff"></picture>

## Capture emails during development using smtp4dev and UI Test with Selenium

4/21/2021 - .NET

You can use smtp4dev during development to prevent emails from going out to real customers. This tool also supports IMAP which you can use to query emails for automated testing.



](/blog/dotnet/capture-emails-during-development-using-smtp4dev-and-ui-test-with-selenium)
