How can I send an email through the UNIX mailx command?
mailx
an example
$ echo "something" | mailx -s "subject" [email protected]
to send attachment
$ uuencode file file | mailx -s "subject" [email protected]
and to send attachment AND write the message body
$ (echo "something " ; uuencode file file) | mailx -s "subject" [email protected]
1.4m articles
1.4m replys
5 comments
56.9k users