php mail 寄送失敗

已安裝 sendmail 失敗
改裝postfix也失敗

已安裝php-mail套件
卡關很久
Jan 5 09:38:26 WebServer postfix/sendmail[31590]: fatal: usage: sendmail [options]
Jan 5 09:38:36 WebServer postfix/sendmail[31709]: fatal: usage: sendmail [options]
Jan 5 09:38:46 WebServer postfix/sendmail[31825]: fatal: usage: sendmail [options]
網路上寫這是mail script的問題…問題是..我重灌server才發生的,哪是什麼php script的問題

做了一下指令發信的測試
mail -s “abc” [email protected]
The program ‘mail’ is currently not installed. You can install it by typing:
sudo apt install mailutils
^^^^^^^^^^^^^^^^

明燈啊!
sudo apt-get install mailutils
打完收工

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *