Skip to content

yoannmoinet/secret-santa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Secret Santa

Uses mailgun module to send the mail.

Run

node ./index.js

Mail template

The mail template is here.

Configure

Create a ./env/secrets.json and ./env/users.json.

./env/secrets.json

{
    "mailgun_private": "key-xxxxxxxxxxxxxxxxxxxx",
    "mailgun_public": "pubkey-xxxxxxxxxxxxxxxxxx",
    "mailgun_domain": "my-domain.com"
}

./env/users.json

[
    {
        "name": "Random User #1",
        "email": "[email protected]"
    },
    {
        "name": "Random User #2",
        "email": "[email protected]"
    },
]

About

A secret santa via mailgun.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages