2017-10-18 | Paul Boddie | file changeset files shortlog | Allow the store, journal and publisher configuration logic to function correctly by not retrieving the defaults when obtaining command line arguments. Extended the configuration debugging option output. | 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()) |