一、使用任意发件人发送邮件

echo 'Test ' | mail -r fromMail@163.com -s "Test test" toMail@163.com

 其中s表示主题。

相关文章: