andris9 / mailtrain
- среда, 6 апреля 2016 г. в 03:13:43
JavaScript
Self hosted newsletter app
Mailtrain is a self hosted newsletter application built on Node.js (v5+) and MySQL (v5.5+ or MariaDB).
Mailtrain supports subscriber list management, list segmentation, custom fields, email templates, large CSV list import files, etc.
Subscribe to Mailtrain Newsletter here (uses Mailtrain obviously)
npm install
in the Mailtrain folder to install required dependenciesconfig/production.toml
and update MySQL Settings in itmysql -u MYSQL_USER -p MYSQL_DB < setup/mailtrain.sql
NODE_ENV=production npm start
admin
:test
Edit mailtrain.nginx (update server_name
directive) and copy it to /etc/nginx/sites-enabled
Edit mailtrain.conf (update application folder) and copy it to /etc/init
Mailtrain uses webhooks integration to detect bounces and spam complaints. Currently supported webhooks are:
http://domain/webhooks/aws
as the subscriber URL for these topicshttp://domain/webhooks/sparkpost
as the webhook URL for bounces and complaintshttp://domain/webhooks/sendgrid
as the webhook URL for bounces and complaintshttp://domain/webhooks/mailgun
as the webhook URL for bounces and complaintsGPL-V3.0