#man mail
So in short:SYNOPSIS
mail [-eIinv] [-a header] [-b bcc-addr] [-c cc-addr] [-s subject] to-addr
[…] [– sendmail-options […]]
mail [-eIiNnv] -f [name]
mail [-eIiNnv] [-u user]
DESCRIPTION
mail is an intelligent mail processing system which has a command syntax
reminiscent of ed(1) with lines replaced by messages.
# echo "my mail message to who@somewhere" |mail -a "From: me@here" -a "Reply-To: other-address@there" -s "a massage to who@somewhere from command line" who@somewhere


Reply With Quote


Bookmarks