I installed Postfix, and get the /usr/lib/sendmail
binary. What I want is send an email alo
/usr/bin/printf "%b" "EMAIL_BODY" | /usr/lib/sendmail -s "EMAIL_SUBJECT" destination@adress.com
But the -s
option is not recognized. How send email from command line specifying the email subject and using postfix?
Best Answer
Take a look at mailx: