Based on the post of jerzy szczudłowski (thanks jerzy :), I made an enhanced version for a mail-mailx replacement. It is done as a bash script.
I just want to post the script on the list for whoever needs such a feature, as I did. To the ssmtp package maintainer: How about considering to include such a script, as a bonus, to the package? --------------------------------------------------- Usage: mail [OPTION] to-addr[,to-addr] Simple mailx mail implementation, based on ssmtp. No interactive mode, no syntax checking, recipient address must be the last parameter. -e do not send empty mail -v verbose mode -a header additional headers -s subject -c cc-addr cc recipients -b bcc-addr bcc recipients __________________________________ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail
mail
Description: mail
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/