格式如下:
[root@iz23whn33jnz log]# echo '這是郵件标題' | mail -s "這是郵件内容" [email protected]
有可能出現如下問題:
send-mail:
fatal: parameter inet_interfaces: no local interface found for ::1
格式如下:
[root@iz23whn33jnz log]# echo '這是郵件标題' | mail -s "這是郵件内容" [email protected]
有可能出現如下問題:
send-mail:
fatal: parameter inet_interfaces: no local interface found for ::1