简体   繁体   中英

How to send html table as body and excel as attachment using mailx or sendmail in solaris

I am generating the executive summary in form of html and the complete data in csv. How to send the html table as body of a mail and the csv as attachment of the same.

如果您可以选择使用Mutt客户端,则可以尝试:

echo "html message" | mutt -a "/tmp/file.csv" -s "subject" -- recipient@example.com

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM