答案1
尝试:
echo -e "Body content goes here ..." | mailx -v \
-r "[email protected]" \
-s "subject content goes here" \
-S smtp=smtp://x.x.x.x [email protected] \
-S "Content-Type: text/html"
尝试:
echo -e "Body content goes here ..." | mailx -v \
-r "[email protected]" \
-s "subject content goes here" \
-S smtp=smtp://x.x.x.x [email protected] \
-S "Content-Type: text/html"