tldr/pages/common/mutt.md

25 lines
611 B
Markdown
Raw Normal View History

2017-05-22 07:22:55 +01:00
# mutt
> Command-line email client.
2019-06-04 10:25:23 +01:00
> More information: <http://mutt.org>.
2017-05-22 07:22:55 +01:00
- Open the specified mailbox:
`mutt -f {{mailbox}}`
- Send an email and specify a subject and a cc recipient:
`mutt -s {{subject}} -c {{cc@example.com}} {{recipient@example.com}}`
- Send an email with files attached:
`mutt -a {{file1}} {{file2}} -- {{recipient@example.com}}`
- Specify a file to include as the message body:
2022-12-04 09:12:49 +00:00
`mutt -i {{path/to/file}} {{recipient@example.com}}`
2017-05-22 07:22:55 +01:00
- Specify a draft file containing the header and the body of the message, in RFC 5322 format:
2017-05-22 07:22:55 +01:00
2022-12-04 09:12:49 +00:00
`mutt -H {{path/to/file}} {{recipient@example.com}}`