New:Socket for Asana Is Now Available.Learn more
Sign In

secret-santa-emails

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

secret-santa-emails

A module for mixing presents and sending Secret Santa emails

latest
Source
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

Secret Santa shuffler and email sender

This little project takes a list of persons, shuffles everybody without showing the pairs and then sends every one an email with their present receiver. It is currently translated into English and Romanian. There's an HTML template (in the templ folder) which is used to give a nice winter-y form to the emails.

Here's a screenshot from a Gmail received message:

Installation

  • git clone https://github.com/toxik/SecretSanta.git
  • cd SecretSanta && npm install (for the nodemailer dependency)

Usage

  • clone the settings.json.sample into settings.json
  • add the details for the persons you want shuffled: name, email, sex
  • configure your email provider (smtp/gmail etc. see the nodemailer project for all available settings)
  • npm start

Credits

Alexandru Georoceanu

License

MIT

FAQs

Package last updated on 14 Dec 2015

Related posts