2016-04-21 | Paul Boddie | file changeset files shortlog | Added a store-copying tool together with additional store methods to support the complete copying of one store into another. Updated the get_all_events methods to be able to return either active or cancelled event and recurrence details. Tidied various store method return types. | freebusy-collections |
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()) |