Total Pageviews

Saturday, 7 January 2017

用Node-list群发邮件


A simple way to email an email list, just pass a markdown file with an associated comma-seperated list to index.js and it'll email people with Nodemailer.
Node-list sends emails using Markdown, so write in Markdown and it'll send an html email and a plain text email.
---
title: 'Hello World'
list: test.txt
---

Hello people who have email addresses! This is a test.
Example email list
ev@evbogue.com, eb@eberson.com, Ev Bogue <ev@evbogue.com>
To send
% node index.js helloworld.md
Node-list requires a fully qualified email server for best delivery, see the Nodemailer docs.
Please email responsibly, use permission marketing folks.

from https://gitlab.com/ev/node-list/