用 cmd 去寄信:
mail -s"Subject header" -r"recipient" <"file" <--- mailx
sendmail -f"from name" "recipient" <"file"
heirloom-mailx
apt-get install heirloom-mailx
Usage:
mail <opts> recipient
opts:
-a FILE
Attach the given file to the message.
-c address