Schedule Email with SendGrid and Iron.io (repost)
Using IronWorker to Schedule Emails in Node.js, Ruby, and PHP
Schedule Email with SendGrid and Iron.io |
Nick Quinlan from SendGrid just put out a really nice post on using IronWorker to schedule email using SendGrid.
And what’s even better is he shows how to do it in three languages:
- Node.js
- PHP
- Ruby
SendGrid offers an industrial-strength service that solves the challenge of email delivery by delivering emails on behalf of companies. They eliminate the complexity of sending email while providing reliable delivery to the inbox.
Here’s an excerpt from the post:
There are tons of reasons to schedule an email: maybe you want to send an email daily or weekly, or perhaps, you just want to send an email in the morning rather than the evening. Luckily, with Iron.io and SendGrid this is easy.
Iron.io is a cloud platform that gives developers tools to solve many common problems. One of these tools is the IronWorker, a way to asynchronously run code in a number of languages. Workers are run by “tasks” which can be queued, scheduled in advance, or even repeated. Tasks can contain JSON Payloads which the worker can then process.
What’s great about the post is that it walks you through the steps and includes the scripts and code blocks needed. (He’s covering 3 different languages and so the code is in triplicate in spots.)
We love posts like this at Iron.io.
Nicely done, Nick.
About the Author
Nick Quinlan is a SendGrid Developer Evangelist based out of San Francisco. He works to make developers lives easier by providing them with the help they need to grow their ideas. Give him a shout, @YayNickQ.