Sending Email With Attachments From Unix / Linux Command

If you need to send an email with a text file (or binary file) as attachment using shell script or command prompt in Unix or Linux; try mutt – a terminal-based e-mail client for Unix-like systems. mutt -s “Test mail” -a /tmp/shahzeb.tar.gz shahzeb143@gmail.com < /tmp/mailmessage.txt Where, shahzeb143@gmail.com   – is the… read more →