1.将某个文件内容以正文形式发送: mail -s "文件标题" 目的邮箱地址 < filename.txt2.将某个文件以附件形式发送: uuencode filename.txt filename.txt | mail -s "文件标题" 目的邮箱地址