[英]How to send html table as body and excel as attachment using mailx or sendmail in solaris
我正在以html的形式生成執行摘要,並在csv中生成完整的數據。 如何將html表作為郵件正文發送,並將csv作為附件發送。
如果您可以選擇使用Mutt客戶端,則可以嘗試:
echo "html message" | mutt -a "/tmp/file.csv" -s "subject" -- recipient@example.com
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.