Unix Mail Attach File

How To Send an Email With Attachment and Body from Linux

by Ramesh Natarajan on December 30, 2009

Question: How do I send an email with attachment from Linux command-line (or shell script)? Also, can I send both attachment and body text together in an email from Linux command-line?

Answer: You can send both attachment and body text (or just the attachment with a subject line) from Linux command line as explained below.

(more…)

{ 24 comments }