如何通过UNIX mailx命令发送电子邮件
一个例子
$ echo "something" | mailx -s "subject" recipient@somewhere.com
发送附件
$ uuencode file file | mailx -s "subject" recipient@somewhere.com
并发送附件并写入消息体
$ (echo "something\n" ; uuencode file file) | mailx -s "subject" recipient@somewhere.com