in solaris I used to send mail easily by doing:
uuencode file.txt file txt | mailx email@example.com.
I can't find "uuencode" in centos and mailx always stop for CC.
I want to automatically send the email with no questions at all
You have to install sharutils package (yum install sharutils) to get uuencode
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
4 years ago