--resource-files .. | Controls loading of (as via source) Resource files: spec is parsed case-insensitively, the letter ‘s’ corresponds to the system wide s-nail.rc, ‘u’ the user's personal file ~/.mailrc. | man |
-A, --account name | Activate user account name after program startup is complete (resource files loaded, only -X commands are to be executed), and switch to its primary system mailbox (most likely the inbox). | man |
-a, --attach file[=input-charset[#output-charset | (Send mode) Attach file. | man |
-B | ([Obsolete]: S-nail will always use line-buffered output, to gain line-buffered input even in batch mode enable batch mode via -#.) | man |
-b, --bcc addr | (Send mode) Send a blind carbon copy to recipient addr. | man |
-C, --custom-header "field: | Create a custom header which persists for an entire session. | man |
-c, --cc addr | (Send mode) Just like -b, except it places the argument in the list of carbon copies. | man |
-D, --disconnected | [Option] Startup with disconnected set. | man |
-d, --debug | Enter a debug-only sandbox mode by setting the internal variable debug; | man |
-E, --discard-empty-messages | (Send mode) set skipemptybody and thus discard messages with an empty message part body, successfully. | man |
-e, --check-and-exit | Just check if mail is present (in the system inbox or the one specified via -f): if yes, return an exit status of zero, a non-zero value otherwise. | man |
-F | (Send mode) Save the message to send in a file named after the local part of the first recipient's address (instead of in record). | man |
-f, --file | Read in the contents of the user's secondary mailbox MBOX (or the specified file) for processing; | man |
-H, --header-summary | Display a summary of headers for the given folder (depending on -u, inbox or MAIL, or as specified via -f), then exit. | man |
-h, --help | Show a brief usage summary; | man |
-i | set ignore to ignore tty interrupt signals. | man |
-L, --search spec | Display a summary of headers of all messages that match the given spec in the folder found by the same algorithm used by -H, then exit. | man |
-M type | (Send mode) Will flag standard input with the MIME ‘Content-Type:’ set to the given known type (HTML mail and MIME attachments, The mime.types files) and use it as the main message body. | man |
-m file | (Send mode) MIME classify the specified file and use it as the main message body. | man |
-N, --no-header-summary | inhibit the initial display of message headers when reading mail or editing a mailbox folder by calling unset for the internal variable header. | man |
-n | Standard flag that inhibits reading the system wide s-nail.rc upon startup. | man |
-q, --quote-file file | (Send mode) Initialize the message body with the contents of file, which may be standard input ‘-’ only in non-interactive context. | man |
-R, --read-only | Any mailbox folder aka folder opened will be in read-only mode. | man |
-r, --from-address from-addr | The RFC 5321 reverse-path used for relaying and delegating messages to its destination(s), for example to report delivery errors, is normally derived from the address which appears in the from header… | man |
-S, --set var[=value | set (or, with a prefix string ‘no’, as documented in INTERNAL VARIABLES, unset) variable and optionally assign value, if supported; | man |
-s, --subject subject | (Send mode) Specify the subject of the message to be sent. | man |
-T, --target "field: | (Send mode) Add addr to the list of receivers targeted by field, for now supported are only ‘bcc’, ‘cc’, ‘fcc’, and ‘to’. | man |
-t, --template | (Send mode) The text message given (on standard input) is expected to contain, separated from the message body by an empty line, one or multiple plain text message headers. | man |
-u, --inbox-of user | Initially read the primary system mailbox of user, appropriate privileges presumed; | man |
-V, --version | Show S-nails version and exit. | man |
-v, --verbose | sets the internal variable verbose to enable logging of informational context messages. | man |
-X, --startup-cmd cmd | Add the given (or multiple for a multiline argument) cmd to a list of commands to be executed before normal operation starts. | man |
-Y, --cmd cmd | Add the given (or multiple for a multiline argument) cmd to a list of commands to be executed after normal operation has started. | man |
--enable-cmd-escapes | Enable COMMAND ESCAPES in (Compose mode) even in non-interactive use cases. | man |
-#, --batch-mode | Enables batch mode: standard input is made line buffered, the complete set of (interactive) commands is available, processing of COMMAND ESCAPES is enabled in Compose mode, and diverse INTERNAL… | man |
--end-options | This flag forces termination of option processing in order to prevent “option injection” (attacks). | man |