Global Constant
Steve Nay's ramblings

Kynetx module for Postmark

UPDATE: This module is now listed in the Kynetx module directory. Check it out here.

There was a question on Stack Overflow over the weekend about sending email through KRL. Sam’s answer was that it’s currently not possible in the runtime, but that you could create a module to work with a service like Postmark or SendGrid. I decided to take on the challenge.

The first draft of this module only lets you send with from, to, subject, and HTML body, but I’ll extend it to support everything in the Postmark API.

Here’s how to use it from your own app:

A few things to note:

Let me know what you think of it!