2 examples for mutt
# open the default inbox
mutt
# start writing an email to me@example.com
mutt me@example.com
# send an email with the body "hello" and subject "test" to me@example.com
echo "hello" | mutt me@example.com -s
# open the default inbox
mutt
# start writing an email to me@example.com
mutt me@example.com
# send an email with the body "hello" and subject "test" to me@example.com
echo "hello" | mutt me@example.com -s