Problem scenario
You want to send more than one line of text as the body of an email. You want to use the command prompt of a RedHat Enterprise Linux server.
Solution
Prerequisites
You have installed mailx. If you need to do this, run this command: sudo yum -y install mailx
Procedures
1.
…