Skip to content

Latest commit

 

History

History
60 lines (39 loc) · 1.86 KB

command.rst

File metadata and controls

60 lines (39 loc) · 1.86 KB

outgoing (command)

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

outgoing

-c <file>, --config <file>

Specify a configuration file <configfile> to use instead of the default configuration file

-E <file>, --env <file>

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>

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>

0.2.0

Read the configuration from the given table or key in the configuration file; defaults to "outgoing"

--no-section

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