Hello,
Is there any way to attach a file to sendmail ??
What we use to do is to cat a file and then send it as the body but how to attach a file to the message ???
Many thanks
(echo "SUBJECT :Error in DB $db (`basename $0`) from `date +'%d-%m-%y'` \n" cat $CURRLOGFILEechange)| /usr/lib/sendmail supoort@company.com
Is there any way to attach a file to sendmail ??
What we use to do is to cat a file and then send it as the body but how to attach a file to the message ???
Many thanks
(echo "SUBJECT :Error in DB $db (`basename $0`) from `date +'%d-%m-%y'` \n" cat $CURRLOGFILEechange)| /usr/lib/sendmail supoort@company.com