2013-04-24 103 views

回答

6

版本的终端:

mail [email protected] 

版本的shell脚本:

echo "This is a short email" | mail -n -s "Sending email" [email protected] 

AFAIK典型的Linux发行版安装MTA(的sendmail /后缀/进出口/ ...),默认情况下。如果你有静态的公共IP地址,那么你很可能有一个工作的自我配置。

没有静态公网IP的MTA配置比较棘手。

相关问题