2016-05-13 | Paul Boddie | file changeset files shortlog | Made use of the get_scheduling_conflicts common scheduling function to support delegation, introducing a "most-available" policy and tentatively supporting multiple policies. Tidied up the quota module code, making handling of endlessly-recurring events identical between the addition and removal functions modifying journal entries. |
paul@1102 | 1 | #!/usr/bin/env python |
paul@1102 | 2 | |
paul@1102 | 3 | import smtplib |
paul@1102 | 4 | import sys |
paul@1102 | 5 | |
paul@1102 | 6 | sender, recipients = sys.argv[1], sys.argv[2:] |
paul@1102 | 7 | |
paul@1102 | 8 | s = smtplib.SMTP("localhost") |
paul@1102 | 9 | print s.sendmail(sender, recipients, sys.stdin.read()) |