≡ Menu

Unix Mail Attach File

How To Send an Email With Attachment and Body from Linux

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. [...]

{ 28 comments }