Skip to content

fullmers/SecretSanta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SecretSanta

Secret Santa matcher and email sender

How to use

  1. Make sure you have python 3 installed.

  2. Create a csv file in the working directory with all the participants, with the following format:

Participant Name, [email protected]

Refer to testdata.csv for example

  1. Update the email message returned in sendEmail.constructMessage(), to suit your own group's needs.

  2. In authenticationInfo.py, fill in your own login and password information for the email address you wish to send the emails from. Currently, gmail and gsuite addresses will work. If you want to use a non-gmail/non-gsuite address, you additionally need to update SMPTSERVER in sendEmails.py.

  3. If using a gmail/gsuite account, allow less secure apps for the account.

  4. Send the emails from the working directory with: python main.py participantlist.csv

  5. Enjoy your Secret Santa exchange! When it is over, you can check the file santa_solution. Each name in the list is the santa for the following name in the list. The last name in the list is the Santa for the first name.

License

This project is available under the MIT LICENSE

About

Secret Santa matcher and email sender

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages