NAME

mail - the standard /usr/bin/mail interface

SYNOPSIS

mail [OPTION...] [address...]

DESCRIPTION

GNU mail -- the standard /usr/bin/mail interface
-a, --append=HEADER: VALUE Append given header to the message being
sent
-e, --exist
Return true if mail exists
-E, --exec=COMMAND
Execute COMMAND
-f, --file[=URL]
Operate on given mailbox URL (default ~/mbox)
-F, --byname
Save messages according to sender
-H, --headers
Write a header summary and exit
-i, --ignore
Ignore interrupts
-n, --norc
Do not read the system mailrc file
-N, --nosum
Do not display initial header summary
-p, --print
Print all mail to standard output
-q, --quit
Cause interrupts to terminate program
-r, --read
Same as -p-s, --subject=SUBJ
Send a message with a Subject of SUBJ
-t, --to
Precede message by a list of addresses
-u, --user=USER
Operate on USER’s mailbox
Common options
--license
Print license and exit
--external-locker=PATH Set full path to the external locker program
--lock-expire-timeout=SECONDS
Number of seconds after which the lock expires
--lock-flags=FLAGS
Default locker flags (E=external, R=retry, T=time, P=pid)
--lock-retry-count=NUMBER
Set the maximum number of times to retry acquiring the lockfile
--lock-retry-timeout=SECONDS
Set timeout for acquiring the lockfile
-m, --mail-spool=URL
Use specified URL as a mailspool directory
--mailbox-type=PROTO
Default mailbox type to use
--tls[=BOOL]
Enable TLS support
-?, --help
give this help list
--usage
give a short usage message
-V, --version
print program version
Mandatory or optional arguments to long options are also mandatory or
optional for any corresponding short options.