azure-function

Write a Custom Webhook to Handle MailGun events

15 minute read Published:

Create an inexpensive Webhook to handle MailGun events. All you need is some background, a sprinkling of C#, and a few Azure functions.

Wouldn’t you like to know when MailGun fails to deliver an email? Or worse still, when someone complains about an email you sent?

MailGun can notify you about the following events:

  • Clicked
  • Complained
  • Delivered
  • Failed
  • Opened
  • Unsubscribed

There’s just one catch: You have to write your own webhook, then subscribe to those events with your webhook’s URL. If that thought left you cross-eyed, fear not! The reign of cloud computing has made this simpler than it used to be, especially the introduction of functions as a service.

Build an SMS Bat-Signal Powered by Twilio and Azure Functions

8 minute read Published:

Sometimes in life, you've got to send out boat-loads of SMS messages, and you've got to do it fast. Fortunately, SMS doesn't get much easier than Twilio plus Azure Functions.

Wouldn’t it be cool to send out an SMS SOS with the touch of a button? Like your own private SMS Bat-Signal!

I’ll show you how to do it using Twilio and an Azure Function. Here’s an overview of the simple architecture:

                                   /--> |        |--> 📱
|--(HTTP POST)--> [ Azure Func 𝛌 ] ---> | Twilio |--> 📱
                                   \--> |        |--> 📱

Simple, right? Let’s paint the clouds red, 160 characters at a time.

🤜 💥 🤛