【发布时间】:2014-03-10 18:13:01
【问题描述】:
我目前正在使用 mailx 从我的脚本中发送 html 格式的邮件:
cat body.html | /usr/bin/mailx -a "From: Me <me@domain>" -a "Content-type: text/html" -s "My subject" $RECIPIENTS
现在我想添加一个附件(png 图像),但我不知道怎么做。 在迁移到 mutt 或其他东西之前,我想尝试使用 mailx。 非常感谢
【问题讨论】:
-
看看HERE
-
@Dinesh 这不是一个很好的答案。 HTML 和 uuencode 不是一个合理的组合。
标签: html linux email attachment mailx