I am currently using the following script to send the single file to one/more email addresses. I need to send mutilple files at same time, are there anyway I could modify the script or write new one to accomplish the same.
Script
***************
#!/bin/ksh
# Author: Manish Vijayvergiya
# Purpose: Script to mail the processed error reports
# ModDate: 20070329
# Create the list of users to mail
export MAILLIST="richard@coty,manish_vijayvergiya@coty"
export MAILCMD=$(which mail)
# Mail the report to the prospective users
${MAILCMD} -s "Error Reports for $(date +%x)" ${MAILLIST} < /ec/rpt/err/pperrorOTHR10.rpt
******************************************