Linux中使用sendmail发送邮件,指定任意邮件发送人 一、使用任意发件人发送邮件 echo 'Test ' | mail -r fromMail@163.com -s "Test test" toMail@163.com 其中s表示主题。