MAIL(1) MAIL(1) (NAME) mail, mailx, s-nail - (SYNOPSIS) mail [] [_...] mail -f [] [_] mail -h | --help mail -V | --version (DESCRIPTION) mail () SMTP POP3 IMAP . POSIX mailx ( s-nail) TLS/SSL MIME . (OPTIONS) -A , --account= account . -a , --attach= (MIME attachment) . -b , --bcc= (Bcc). -C , --custom-header= . -c , --cc= (Cc). -D, --disconnected (). . -d, --debug . -E, --discard-empty-messages . -e, --check-and-exit . -f [] , --file [] mbox . ~/mbox . -H, --header-summary . -h, --help . -i ( SIGINT). -N, --no-header-summary . -n (/etc/mail.rc). -q , --quote-file= . -R, --read-only . -r , --from-address= From . -S [=m] , --set=[=m] . -s , --subject= (Subject). -t, --template . -u , --inbox-of= . -V, --version . -v, --verbose . -~, --enable-cmd-escapes ( ~e ~v ) . (INTERACTIVE COMMANDS) ? . : ? help . print p [] . next n . delete d [] . undelete u [] . mail m [...] . reply r [] . Reply R [] . save s [] . copy c [] . headers h . quit q ~/mbox . exit x . (FILES) ~/.mailrc . /etc/mail.rc . ~/.mailcap , /etc/mailcap MIME. ~/dead.letter . ~/mbox . ~/.netrc . (VARIABLES) mta smtp://user:pass@smtp.example.com /usr/bin/sendmail. folder . record . replyto Reply-To. from From. MAIL . (EXAMPLES) : echo " " | mail -s " " user@example.com : mail -s " " -a document.pdf manager@example.com SMTP : mail -S mta=smtp://smtp.example.com -s "" friend@example.com : mail -f ~/archive_mail (SEE ALSO) sendmail(8), procmail(1) (AUTHORS) S-nail Steffen Daode Nurpmeso . Mail Heirloom mailx . : s-nail MAIL(1)