Sodamhan.com

TL;DR

mutt

Command-line email client. More information: http://mutt.org.

  • Open the specified mailbox:

mutt -f mailbox

  • Send an email and specify a subject and a cc recipient:

mutt -s subject -c [email protected] [email protected]

  • Send an email with files attached:

mutt -a file1 file2 -- [email protected]

  • Specify a file to include as the message body:

mutt -i path/to/file [email protected]

  • Specify a draft file containing the header and the body of the message, in RFC 5322 format:

mutt -H path/to/file [email protected]

This document was created using the contents of the tldr project.