2018-01-20 | Paul Boddie | file changeset files shortlog | Renamed is_recurrence to describes_recurrence_period, has_recurrence to has_recurrence_period, making the latter return any found period or None. Reverted the erroneous introduction of attendance modification variables. Added some comments. | client-editing-simplification |
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()) |