Using 'mutt' instead of 'mail' in Linux

With mutt instead of mail you would simply call

echo "body" | mutt -s "subject" -a attachment0 attachment1 [...] -- my@email.com
 
Some old verison of linux doesn't support the 'mail' command for attaching files. 
So this will be useful for sending mail with attachment on those servers.  

Comments

Popular posts from this blog

How to replace find -maxdepth option in Solaris Operating System using -prone

Oracle 10g installation steps in CentOS 5

Installing RPMforge for CentOS 5