Browse Source

mail: add interactive example (#14221)

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Managor 4 tháng trước cách đây
mục cha
commit
57d98ea714
1 tập tin đã thay đổi với 6 bổ sung2 xóa
  1. 6 2
      pages/common/mail.md

+ 6 - 2
pages/common/mail.md

@@ -4,9 +4,13 @@
 > To send an email the message body is built from `stdin`.
 > More information: <https://manned.org/mail>.
 
-- Send a typed email message. The command-line below continues after pressing Enter key. Input CC email-id (optional) press Enter key. Input message text (can be multiline). Press Ctrl-D key to complete the message text:
+- Open an interactive prompt to check personal mail:
 
-`mail --subject="{{subject line}}" {{to_user@example.com}}`
+`mail`
+
+- Send a typed email message with optional CC. The command-line below continues after pressing `<Enter>`. Input message text (can be multiline). Press `<Ctrl>-D` to complete the message text:
+
+`mail --subject="{{subject line}}" {{to_user@example.com}} --cc="{{cc_email_address}}"`
 
 - Send an email that contains file content: