Category Archives: Technical

The Magic Behind Basic HTTP Authentication

Posted on (0 Comments)

  It’s very easy to take things for granted as a developer. We almost always try and use libraries for every and anything to not reinvent the wheel. As I continue to grow, I find myself with a desire to dig deeper and understand the “black boxes” I’ve come to know. Recently, a beginner friend came to me needing a very simple authentication system. I told him about basic HTTP authentication to which he replied, “Sounds cool! How does it work?” I realized I had no idea and pulled up the spec. This one’s for you, Zack! When a request

READ MORE »

Play Reversi Using SendGrid

Posted on (0 Comments)

The following is a guest post by Wataru Sato, a developer who works with SendGrid in Japan. He has a blog at http://awwa500.blogspot.jp/ and you can find his GitHub page here: https://github.com/awwa. I’m from Japan and work with SendGrid there. SendGrid is a powerful email service that sends a large number of emails every day. However, SendGrid’s APIs can also be used for fun! Today, I created a game using SendGrid. It’s called SendGrid-Reversi, and it let’s you play Reversi entirely over email! It runs on Sinatra, the data is stored in MongoDB, and the functionality is built on top of the various

READ MORE »

Send Emails That Don’t Bite With Barke

Posted on (0 Comments)

People are different. They read their email at different times and in different ways. But it’s not easy to track and react to different users’ habits. That’s the idea behind Embarke, a partner of ours that optimizes the delivery time of each email you send. Embarke mimics our Web API and then consumes data provided by our Event Webhook to allow users to continue sending through SendGrid with minimal changes on their end. To start using Embarke, all one needs to do is change their endpoint from: https://api.sendgrid.com/api/mail.send.json to https://esp.embarkemail.com/sendgrid/api/mail.send.json and pass in a few extra values through the x-embarkeapi

READ MORE »

Tracking Email Using Microsoft Azure and the SendGrid Event Webhook (Part 2)

Posted on (0 Comments)

Welcome back to the second part of my series about building a Windows Phone 8.1 app to track email powered by Microsoft Azure and SendGrid’s Event Webhook. If you haven’t read part one in this series, please do so before continuing. Recap In part one, we implemented the SendGrid Event Webhook listener using C# ASP.NET hosted on Microsoft Azure. In this post (part two), we will create a Windows Phone 8.1 app that displays email tracking data via the SendGrid Web API. In part three of this series, we will send push notifications from our SendGrid Event Webhook listener when

READ MORE »

JSON Web Tokens (Again!) and Koa.js

Posted on (0 Comments)

A few weeks ago, I wrote about using JSON Web Tokens (JWT) as an alternative method of authentication using Go. The post itself contains a basic explanation about JWT and some links for content. In this post, I want to cover pretty much the same things using Koa, a new framework for Node.js. Koa is mostly a middleware framework which uses generators (only available under the Harmony flag) to control the flow of requests. The reason I mention that it’s a middleware framework is because it doesn’t come with most of the things you would expect a framework to provide, such

READ MORE »

The SendGrid Ruby Gem and My Mama!

Posted on (0 Comments)

A sample of the things I love are, Ruby, webhooks, and my mama! In this post, I’m putting all of them together! Let’s start with how excited SendGrid is to announce the release of the official SendGrid Ruby Gem, sendgrid-ruby! The library includes the smtpapi-ruby library created by our friend Wataru Sato of SendGrid Japan. As always, any sort of feedback is welcomed and encouraged. What better way to introduce a new library than with a hack!? My mother, like most moms I imagine, was very sad and hesitant to see her baby boy move out and start life on

READ MORE »

Gophers can haz A/B Testing in Transactional Email

Posted on (0 Comments)

How much do you know about the awesome folks @SendWithUs? Here @SendGrid, we’re huge fans, and quite frankly friends, of theirs. They provide an amazing service: A/B testing for transactional email templates! If you haven’t heard from them and you are a SendGrid customer, today is your lucky day since we have a partnership that might interest you! But enough about that, lets get a bit technical! I noticed that SendWithUs didn’t have a Golang library. So I figured I could build them one and allow every Go developer out there to interact with their service without having to implement

READ MORE »