Command-Line Program
outgoing [<options>] [<msg-file> ...]
You can use outgoing
to send fully-composed e-mails directly from the
command line with the outgoing command. Save your e-mail as a
complete message/rfc822 document and then run outgoing
path/to/email/file
to send it using the configuration in the default config
file (or specify another config file with the --config
option). Multiple
files can be passed to the command at once to send multiple e-mails. If no
files are specified on the command line, the command reads an e-mail from
standard input.
Options
- -c <file>, --config <file>
Specify a configuration file to use instead of the default configuration file
- -E <file>, --env <file>
New in version 0.2.0.
Load environment variables from the given
.env
file before reading the configuration file. By default, environment variables are loaded from the first file named “.env
” found by searching from the current directory upwards.
- -l <level>, --log-level <level>
New in version 0.2.0.
Set the logging level to the given value; default:
INFO
. The level can be given as a case-insensitive level name or as a numeric value.
- -s <key>, --section <key>
New in version 0.2.0.
Read the configuration from the given table or key in the configuration file; defaults to “
outgoing
”
- --no-section
New in version 0.2.0.
Read the configuration fields from the top level of the configuration file instead of expecting them to all be contained below a certain table/key