From 1fcc48e01adf03948a5b35b18446ce811c8615ec Mon Sep 17 00:00:00 2001 From: Waldir Pimenta Date: Sat, 15 Apr 2017 13:17:23 +0100 Subject: [PATCH] mailx: various tweaks - restore "content" as opposed to "body", per PR discussion - various improvements to command descriptions --- pages/common/mailx.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/common/mailx.md b/pages/common/mailx.md index c73d04d12a..516a53e5a5 100644 --- a/pages/common/mailx.md +++ b/pages/common/mailx.md @@ -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}}`