Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用以下命令附加文件。
mailx -s "Report 05/06/07" add@dom.com < /test_output/report.html uuencode /test_output/report.html /test_output/report.html | mail -s "mailing my c file" add@dom.com
但附件没有随邮件附上。附件内容显示在邮件正文中。
我该如何解决这个问题,或者有没有其他方法可以自动发送带有附件的邮件?