Hi All,
do we have any option for sending attachment with email except using uuencode and mutt, because if i use these utilities then i will have to install them separately which is not feasible at time.
please suggest on this.
Hi All,
do we have any option for sending attachment with email except using uuencode and mutt, because if i use these utilities then i will have to install them separately which is not feasible at time.
please suggest on this.
You certainly do not need mutt
. You can uses mail
or mailx
or sendmail
, which would normally be standard fare on a Unix/Linux system. Instead of uuencode
you could also use base64
for attachments. Are you sure uuencode
is not installed by default as well?
Thanks scrutinizer for your valuable comment.
But I have found one other option too i.e. mailx -a
echo "This is message body" | mailx -s "This is Subject" -a err_val.csv.20150806052330 "lovelysethii@gmail.com"
It's working perfectly for me.