Technology

What is SendGrid?

As somebody who develops quite a lot of websites, I find that most of the time I tend to use a lot of the same technologies and services. A lesser known service which I have come to love is called SendGrid, heres why I love it.

Author Avatar

Author: Tom McClean

Updated: 27 Jul 2016 22:58

When you develop a lot of websites, you find that a lot of the code you implement every time is the same between each project. The bespoke code you write for each website is actually a smaller portion of the overall code.

To save a lot of time and effort you build a reliance on third party services which do some of the work you don't want to (or can't feasibly or economically) do yourself. SendGrid is one of those services who I have become reliant on.

Before I talk too much about what SendGrid is, I wanted to cover my background in using it. I have been using SendGrid for about 12 months on the free tier; I haven't actually paid a penny for it yet. I wanted to write this article simply to highlight a tool I value a lot, I haven't been asked (or paid) to write this post.

 

What is SendGrid?

SendGrid is a service which enables you to send vast volumes of email efficiently and pretty cheaply. In essence you add a NUGET Package to your code, pass the API a few parameters and they take care of the rest.

SendGrid offers a whole host of cool features, like click tracking so you can see engagement from the emails you send out. They offer templating to make your emails more attractive also.

I don't tend to use a massive amount of the functionality on offer, because most of the time the only emails I send from a website are for things like Password Resets and Security Warnings.

You can find out more about SendGrid at their site: https://sendgrid.com/

 

How much does it Cost?

I setup SendGrid through my Microsoft Azure Subscription, doing this gives me the ability to send up to 25,000 emails per month for free; that is a lot of email...

Other tiers seem pretty reasonable, they get more expensive and give you more emails per month as you would expect. It looks pretty scalable, if I did need to increase my email output I could get 100 Thousand emails per month for 80 quid which sounds cheap.

Looking at their website, the free offer isn't available through there, so if you use Azure, its a must have service to add to your account.

 

How easy is it to Integrate?

This is something thats particularly important to me, if something has a steep learning curve I tend to ditch it entirely. Its not worth learning all about somebodies API when you just want it to complete a seemingly mundane task, its not exactly the exciting part of coding.

I found SendGrid remarkably easy to integrate, I would go as far as to say this was probably the easiest third party service I have ever implemented. The documentation on their website gives you direct code examples for pretty much any language you could ever envision using.

In terms of the code footprint, you need to add a NUGET package, a couple of config settings with your credentials and then a small amount of nice readable code like this...


 

The Dashboard

SendGrid also has a really neat dashboard that tells you what the interactions have been completed with the emails you send, you can't manage this service directly through Azure, but it sends you out and signs you into SendGrid automatically.

I had to save a screenshot from a test account to not give away anything incriminating here, but this gives you an idea of the web ui. I find it quite easy to use, the activity page is the best part; it shows you live / real time states on emails you submitted.

If you are developing your own websites and you pay for an SMTP service, you should find SendGrid much cheaper, and because Email is what they do, you can trust them to do it right and take the weight off your shoulders!

Anyways, just wanted to highlight one of the best tools in my toolbox, ill be posting up more in future as there are several like SendGrid that are so good you just keep using them over and over again.

 

Have you tried out SendGrid or any of their competitors?

Thanks, Tom

You need to Login or Register to comment.


No Comments Left Yet

Why not add your own comments or thoughts to get the chat started?

No Gallery Images

Sometimes we add relevant images to a photo gallery, but we don't have any for this post.

Technology

New Project: XContext

Find out how I decided to cut down my SQL Azure costs on Microsoft Azure.

Portal CMS

Have you seen PortalCMS?

PortalCMS is my proudest personal project to date, it has taken a long time and a lot of effort, but its now more than I ever expected it to be. Find out why!

Blog

What am I working on these days?

This post is just a brief update about what I am spending my development time working on recently.

Technology

Introducing LogBook

I recently wanted to add some basic logging into an MVC Web Project, but all of the big offerings like Elmah and Log4Net are too bloated, so I decided to write a minimalistic logging tool of my own.

Tips and Tricks

Implementing Effort into a C# MVC Website to allow Unit Testing

I recently wanted to have the ability to write Unit Tests for a personal project, I picked Effort.EF6 to help. This post goes through the setup for "Effort" and why you should choose it.

Portal CMS

Navigation Improvements in Portal CMS

I recently developed some awesome new ways to manage the navigation in your Portal CMS website. Check out what is new in this post.

Portal CMS

Portal CMS - Developing the Theme Manager

This post takes a look at the development so far on a major feature for Portal CMS. The abilty to theme your websites easily to make them even more unique.

Portal CMS

Portal CMS - Release 1.0

The first stable release of Portal CMS is now available, so its a great time to start using Portal CMS for your own website or blog.

Portal CMS

Portal CMS Demo Website Now Available

I wanted to make it as easy as possible to try out Portal CMS. So I have setup a demo website you can login to and try it out!

Portal CMS

User Experience Improvements to the Portal CMS Page Builder

We recently made some changes to the Page Builder in Portal CMS to make it easier and quicker to use. Learn more about what has changed inside this post.

Blog

Summer Holiday in Thassos, Greece

I just returned from a holiday in Thassos in Greece, so I wanted to post up some photo's to show what I got up too!

Portal CMS

Editor Support Added to Portal CMS

Often you want to setup a website for somebody but you want to limit how much they can affect it without you, maybe you want to be responsible for the site, but they want to create content. Now you can in Portal CMS.

Portal CMS

Inline Editing in Portal CMS

I recently releasd a huge change to the Portal CMS technology I have been working on. The ability to change content just like you do offline in Microsoft Office. No need to save changed, nor wait for changes to be made.

Tips and Tricks

How to setup a Web App on Microsoft Azure

A how to guide to creating a Web App on Microsoft Azure, deploying it using Continuous Deployment and hooking it up to a database.

Portal CMS

Portal CMS - Promotional Website

I decided to make a standalone website for Portal CMS; the technology I wrote to sit behind this website and many others. Why not take a look and see what its about?

Blog

Website Relaunch

Welcome to my personal website. I am just in the process of relaunching it under my new technology called Portal CMS.

Tips and Tricks

Cost Effective Email Hosting for Custom Domains (Migrated)

This article takes a look at options for setting up multiple email accounts for multiple custom domains.

Portal CMS

Portal CMS - Page Builder Demo

Portal CMS is my latest technology, this article shows a video demonstration of the new technology in action.

Technology

Windows 10 - Initial Reaction (Migrated)

This article covers my initial reaction to Windows 10 after using it on my main computer for a few days.

Technology

Windows 10 - Coming soon (Migrated)

A brief look at the upcoming Windows 10 release and a look at the new features in the update.