I use the below command to send mail to user with the attachment file .
#mail -a attach.txt
email@domain.com
Would advise if I want to add mail content to the mail , when the user read the mail , the mail content shows today's date ( assume today is Apr 1 , 2014 ) as below , would advise how to change the mail command to do that ? thanks
mail content
=============
Dear all,
Today is Apr 1 , 2014