ssmtp脚本发中文邮件的笔记

 ( echo "From:"; \
echo "TO:[email protected]"; \
echo "Subject: =?utf-8?b?5p+l6K+iSVDlnLDlnYA=?="; \
echo "Content-type: text/html;charset=utf-8" ; \
wget -q -O - "wget -q -O - "http://m.ip138.com/ip.asp?ip=8.8.8.8" -e "http_proxy=http://1.2.3.4:8080/" | grep "

您查询的IP:" | sed -e 's/\s*<[^>]*>/./g' \
) | ssmtp -v [email protected]

转载于:https://www.cnblogs.com/d9394/p/11116273.html

你可能感兴趣的:(ssmtp脚本发中文邮件的笔记)