Skip to content

Latest commit

 

History

History
72 lines (45 loc) · 1.93 KB

README.md

File metadata and controls

72 lines (45 loc) · 1.93 KB

Mass Mailer

Build Status Known Vulnerabilities dependencies Status

codecov tested with jest Cypress.io tests JavaScript Style Guide

Core NPM Package

Setup SMTP server

Create environment variables

Create .env file and specify the following:

# For UBC

# SMTP relay
EMAIL_HOST=smtp.mail-relay.ubc.ca
TRANSPORTER_OPTIONS=smtpRelay (by default)

# SMTP
EMAIL_HOST=smtp.mail.ubc.ca
TRANSPORTER_OPTIONS=smtp


---------------------

EMAIL_HOST=
ACCOUNT_USER=
ACCOUNT_PASS=
ACCOUNT_EMAIL=
ACCOUNT_NAME=
TRANSPORTER_OPTIONS=
  • Note: ACCOUNT_USER and ACCOUNT_PASS must filled when smtp options will be used.

Quick Start

# Clone the repository
$ git clone https://github.com/UBC-LFS/lfs-mass-mailer.git


# Install dependencies
$ npm install

# Start development server
$ npm run dev

# Start production server
$ npm start


# Optional. Build for production
$ npm run build