Mailtrain

建立在Nodemailer之上的自行托管的电子报应用程序。(Self Hosted Newsletter App Built on Top of Nodemailer.)

Github星跟踪图

Mailtrain是一个基于Node.js(v7+)和MySQL(v5.5+或MariaDB)构建的自托管电子报(简讯)应用程序。

Mailtrain支持用户列表管理,列表分割,自定义字段,电子邮件模板,大型CSV列表导入文件等。

主要指标

概览
名称与所有者Mailtrain-org/mailtrain
主编程语言JavaScript
编程语言JavaScript (语言数: 8)
平台
许可证GNU General Public License v3.0
所有者活动
创建于2016-04-04 12:04:33
推送于2025-04-22 06:14:43
最后一次提交
发布数35
最新版本名称v2.20210609.0 (发布于 )
第一版名称v1.0.0 (发布于 )
用户参与
星数5.7k
关注者数114
派生数712
提交数1.4k
已启用问题?
问题数963
打开的问题数8
拉请求数235
打开的拉请求数104
关闭的拉请求数83
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?

Mailtrain v2 beta is available. Check it out here https://github.com/Mailtrain-org/mailtrain/tree/development

Mailtrain

Mailtrain is a self hosted newsletter application built on Node.js (v7+) and MySQL (v5.5+ or MariaDB).

Features

  • Subscriber list management
  • List segmentation
  • Custom fields
  • Email templates
  • Large CSV list import files

Subscribe to Mailtrain Newsletter here (uses Mailtrain obviously)

Hardware Requirements

  • 1 vCPU
  • 1024 MB RAM

Quick Start - Deploy with Docker

Requirements:

Steps:

Depending on how you have configured your system and Docker you may need to prepend the commands below with sudo.

  • Download Mailtrain files using git: git clone git://github.com/Mailtrain-org/mailtrain.git (or download zipped repo) and open Mailtrain folder cd mailtrain
  • Copy the file docker-compose.override.yml.tmpl to docker-compose.override.yml and modify it if you need to.
  • Bring up the stack with: docker-compose up -d
  • Start: docker-compose start
  • Open http://localhost:3000/ (change the host name localhost to the name of the host where you are deploying the system).
  • Authenticate as user admin with password test
  • Navigate to http://localhost:3000/settings and update service configuration, especially replace the value in Service Address (URL) from localhost to the actual IP or domain if installed on a server, otherwise e.g. image upload will not work.
  • Navigate to http://localhost:3000/users/account and update user information and password.

Quick Start - Manual Install (any OS that supports Node.js)

Requirements:

  • Mailtrain requires at least Node.js v7. If you want to use an older version of Node.js then you should use version v1.24 of Mailtrain. You can either download it here or if using git then run git checkout v1.24.0 before starting it
  1. Download Mailtrain files using git: git clone git://github.com/Mailtrain-org/mailtrain.git (or download zipped repo) and open Mailtrain folder cd mailtrain
  2. Run npm install --production in the Mailtrain folder to install required dependencies
  3. Copy config/default.toml as config/production.toml and update MySQL and any other settings in it
  4. Run the server NODE_ENV=production npm start
  5. Open http://localhost:3000/
  6. Authenticate as admin:test
  7. Navigate to http://localhost:3000/settings and update service configuration, especially replace the value in Service Address (URL) from localhost to the actual IP or domain if installed on a server, otherwise e.g. image upload will not work.
  8. Navigate to http://localhost:3000/users/account and update user information and password

Read The Docs

For more information, please read the docs.

License

  • Versions 1.22.0 and up GPL-V3.0
  • Versions 1.21.0 and up: EUPL-1.1
  • Versions 1.19.0 and up: MIT
  • Up to versions 1.18.0 GPL-V3.0