Send email using Linux command line with multiple attachment.

We can send email using linux command line with multiple attachments. There are various services are availble to do the same. Most commonly used are “mail” and “mutt” utility. You can find their reference as follows …streaming Pirates of the Caribbean: Dead Men Tell No Tales 2017live streaming film Alien: Covenant 2017 online
Here is code using mail utility.

echo "Email message" | mail -s "Subject" -a <filepath /filename> -a <second filepath/filename>

Here is code using mutt utility.

echo "Email message" | mutt -s "Subject" -a <file path/filename> -a <second file path/second filename>

Categories: Linux