Mercurial > hg > python
comparison mailer.py @ 49:e67a5ecd6198
add [-u] to usage (?)
author | Henry S. Thompson <ht@inf.ed.ac.uk> |
---|---|
date | Sun, 31 Jul 2022 19:07:01 +0100 |
parents | 69a494ef1a58 |
children | 10f17205908f |
comparison
equal
deleted
inserted
replaced
48:99bfff1538c6 | 49:e67a5ecd6198 |
---|---|
1 #!/usr/bin/python2.7 | 1 #!/usr/bin/python2.7 |
2 '''Attempt at flexible mailout functionality | 2 '''Attempt at flexible mailout functionality |
3 Usage: mailer.py [-n] [-s] [-C cc string] [-c COLSPEC[,COLSPEC]*] [-B bcc string] [-b COLSPEC[,COLSPEC]*] [-S col[,col]*] [-a COLSPEC[,COLSPEC]*] [-p COLPAT]* [-SA file[,file]*] [-R reply-to] [-f from] [-m .sigfilename] COLSPEC[,COLSPEC]* subject {addr-file|-} body-file | 3 Usage: mailer.py [-n] [-s] [-C cc string] [-c COLSPEC[,COLSPEC]*] [-B bcc string] [-b COLSPEC[,COLSPEC]*] [-S col[,col]*] [-a COLSPEC[,COLSPEC]*] [-u] [-p COLPAT]* [-SA file[,file]*] [-R reply-to] [-f from] [-m .sigfilename] COLSPEC[,COLSPEC]* subject {addr-file|-} body-file |
4 | 4 |
5 Sends the body as a message from me with subject to destinations per | 5 Sends the body as a message from me with subject to destinations per |
6 lines in the addr-file selected by COLSPECs (to:) or -c/-b COLSPECs (Cc:/Bcc:) | 6 lines in the addr-file selected by COLSPECs (to:) or -c/-b COLSPECs (Cc:/Bcc:) |
7 | 7 |
8 -n for dry run, prints to stdout | 8 -n for dry run, prints to stdout |