Company
Date Published
Author
Fio Dossetto
Word count
711
Language
English
Hacker News points
None

Summary

Val Sopi from blogstatic wanted to send newsletters through Postmark, bypassing the famous marketing platform. To do this, he needed to dynamically add content to existing Postmark Templates. Val set up Postmark and created an email template using one of their pre-built ones as a starting point. He then coded his variables into his application and API call to Postmark. Next, he layered these variables into the template using Postmark's Mustachio template syntax. Finally, he sent a test email to ensure everything looked good before sending it out.