mybb / mybb-blog-mailer

An application to send emails via MailGun when a new blog post is posted on the MyBB blog.
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

mybb-blog-mailer

This is an app to send email notifications via MailGun for new blog posts posted to the MyBB blog.

It works by reciving a GitHub webhook for the page build action, then reads the ATOM XML feed from the MyBB blog to get the most recently posted post. It compares the publish date of the most recent post to ensure it's actally new, then sends an email to a configured mailing list.

Configuration

Configuration is done via a set of environment variables:

Building

This project uses dep to manage dependencies. Make sure you've installed dep, then run dep ensure to create the vendor directory with all of the vendor libraries.

You can then build the project for Linux, Mac and Windows x86_64 by running make all.