-
Notifications
You must be signed in to change notification settings - Fork 0
garypen/secret-santa
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
# secret-santa Given a set of names/email addresses choose giver/receiver combinations whilst guaranteeing that there are no directly reciprocal combinations. The participants are provided in a file with the following format: <name>:<email address> The parser is very simple, so don't put in spaces or try to comment out lines. Maybe that is an area worth improving... Each partipant receives an email indicating who they should buy a present for. The -e option is used to send a mail containing all pairings to the supplied address. This is so that an (presumably non-participating) examiner can ensure that the program is working correctly. The -o option specifies the mail address to use as the sender of the mail. The -s option specifies the mail server to be used when sending the mail. The -t option is used for testing. If this option is supplied, the emails are not sent to the designated givers, but are instead sent to the supplied address. ## Usage secret-santa -s --server <email host> -o --originator <email address> \ [-e --examiner <email address>] [-t --tester <email address>] <filename> e.g: Send mail from the server <server.com> as user <[email protected]> with a verification copy to verifier "[email protected]". secret-santa -s server.com -o [email protected] -e [email protected] data ## License Copyright (C) 2011 Gary Pennington Distributed under the Eclipse Public License, the same as Clojure.
About
An implementation of a secret-santa system in clojure
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published