Skip to content

JulienUsson/secret-santa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Secret Santa

This app choose secret santa for each people and send them mail to keep it secret.

Environment variable

Name Default value Description
MAIL_HOST / Mail server host
MAIL_PORT 465 Mail server port
MAIL_USER / Mail server username
MAIL_PASSWORD / Mail server password
MAIL_SUBJECT 🎅 Secret Santa 🎅 Mail content
MAIL_CONTENT You are the secret santa of {{people}} ! Mail content
SAVE_MAILS false save mails in mails directory
DEBUG false Print mails instead of sending them

Run

  • Add environment variables MAIL_HOST, MAIL_USER, MAIL_PASS (.env file supported)
  • Add a santas.csv file (name;email;blacklist) at root. (Blacklist is the list of names or emails separated with , and is optional)
  • Run yarn start

Debug

  • Add environment variables DEBUG=true (.env file supported)
  • Add a santas.csv file (name;email) at root.
  • Run yarn start

About

A secret santa mail sender.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published