Sending multiple files as an attachment to a Unix mail command
I have one piece of code mentioned below where it sends two files as an attachment.
mailx -s "$ms - $cdate $ctime" $ReportGroup < ${mailmsg} >/dev/null 2>&1
Here mailmsg contains some files. Now I am trying to send another file xyz.csv
in the above command. how can i do the same?
Thanks in advance.
+3
source to share