Back
For example
$ echo "something" | mailx -s "subject" [email protected]
to send the attachment
$ uuencode file file | mailx -s "subject" [email protected]
Now, to send those attachment to AND, write the below message body
$ (echo "something\n" ; uuencode file file) | mailx -s "subject" [email protected]
To know about Linux join the Linux training
31k questions
32.8k answers
501 comments
693 users