如何通过UNIX mailx命令发送电子邮件
一个例子
原文链接:https://www.f2er.com/bash/391912.html$ 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