1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 01:02:09 +02:00

mail: add interactive example (#14221)

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
This commit is contained in:
Managor 2024-10-16 10:02:06 +03:00 committed by GitHub
parent 6a9bf39ab2
commit 57d98ea714
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: