Next | Trivial Utilities | 138 |
Useful for testing the email system
It's a nice example of a program with a lot of options that actually get used
forge -f from [-s subject] [-m message file] [-b bcc] recipients...
-f specify 'from' address (mandatory)
-s specify subject (mandatory; will prompt in interactive
mode)
-b Bcc recipient (default: $USER (mjd))
-B Suppress Bcc
-m message body file ('-' means read stdin)
If omitted, prompt for message (and subject if necessary)
as per /bin/mail
For example:
forge -f fred@flooney.org -s "Your check did not arrive" -m "/dev/fraud" bsp-esq@excellent.com tedlogan@bogus.net
Next | Menu | Copyright © 2012 M. J. Dominus |