mutt 發送html文件

1.需要安裝1.5以上版本的mutt

tar zxvf mutt-1.5.21.tar.gz -C /usr/src/
cd /usr/src/mutt-1.5.21/
./configure --prefix=/usr/local/mutt
make install

2.配置發送

/usr/local/mutt/bin/mutt -s "數據測試" -e 'set content_type="text/html"' [email protected] < /home/hello/test.html

mutt+msmtp發送郵件的其他配置參照之前的文章(http://qikangwei.blog.51cto.com/2282397/752174)


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章