mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-03 02:35:24 +02:00
mailx: various tweaks
- restore "content" as opposed to "body", per PR discussion - various improvements to command descriptions
This commit is contained in:
parent
092294370d
commit
1fcc48e01a
1 changed files with 4 additions and 4 deletions
|
@ -2,15 +2,15 @@
|
|||
|
||||
> Send and receive mail.
|
||||
|
||||
- To send mail, the body is typed after the command and ended with Control-D:
|
||||
- Send mail (the content should be typed after the command, and ended with Control-D):
|
||||
|
||||
`mailx -s "{{subject}}" {{to_addr}}`
|
||||
|
||||
- Send mail with a short body:
|
||||
- Send mail with content passed from another command:
|
||||
|
||||
`echo "{{content}}" | mailx -s "{{subject}}" {{to_addr}}`
|
||||
|
||||
- Send mail with a body from a file:
|
||||
- Send mail with content read from a file:
|
||||
|
||||
`mailx -s "{{subject}}" {{to_addr}} < {{content.txt}}`
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
|||
|
||||
`mailx -s "{{subject}}" -c {{cc_addr}} {{to_addr}}`
|
||||
|
||||
- Send mail and set sender address:
|
||||
- Send mail specifying the sender address:
|
||||
|
||||
`mailx -s "{{subject}}" -r {{from_addr}} {{to_addr}}`
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue