I dont have uuencode or mutt installed. Im not able to understand how to send mail with attachment using Sendmail. Do we need to write a whole script to send mail using sendmail. Can it not be done in a single line.
I was trying the below scripts .
we are migrating hp ux to linux box. we have lot script which are using uuencode to send attachment file in mailx , like uuencode a.file a.file|mailx -s subject [email protected] Though these were working in unix but not in linux.in linux attachmnts are coming as inline text in body.
i know that in postfix mailx i can send attachment with option -a. but this requires to change all the scripts.