Send Emails from within your App with SendGrid


Are you developing an application that has the requirement to send emails? One way to do this is to use SendGrid. What is SendGrid? At SendGrid’s website they say the following: “SendGrid is the world’s largest email infrastructure as a service provider. We send over 50 billion non-spam emails a month for over 80,000 paying customers including technology leaders like AirBnB, Spotify, and Uber.” It also says “Send up to 40,000 emails for 30 days, then send 100 emails/day free forever”.

How did I find SendGrid? I was researching the way to send an email from an ASP.NET web application project and the article suggested that I use SendGrid. There are other ways to do this, however. The article is called Account confirmation and password recovery in ASP.NET Core. That article says “In this tutorial, SendGrid is used to send email. You need a SendGrid account and key to send email.”

Install SendGrid in your ASP.NET Core Identity Project

From the Package Manager console run this command:

Install-Package SendGrid

I got the message in the console that said “Successfully installed ‘Sendgrid 9.11.0′”. The version 9.11.0 was installed at the time of this writing which in in June of 2019.