2013-04-24 52 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配置比較棘手。

相關問題