linux commandline mail from shell as attachement

There are few ways to do this. Here are some :

(cat mailtext; uuencode surfing.jpeg surfing.jpeg) | mail sylvia@home.com
uuencode $ATTFILE $ATTFILE | mail -s "$SUBJECT" $MAILTO
echo "hi" | mutt -a $ATTFILE -s "$SUBJECT" $MAILTO

Comments

Popular posts from this blog

Citrix receiver on linux version LUbuntu

Installing 64 bit adobe in firefox