commands.sh

sendmail

all

Send email.

More info →

Examples (3)

Send a message with the content of `message.txt` to the mail directory of local user `username`

sendmail < message.txt username

Send an email from `[email protected]` (assuming the mail server is configured for this) to `[email protected]` containing the message in `message.txt`

Send an email from `[email protected]` (assuming the mail server is configured for this) to `[email protected]` containing the file `file.zip`

made by @shridhargupta | data from tldr-pages