phpmailer真的是一個寄信神物,但剛剛卡關一直出現
Could not instantiate mail function的錯誤..
因為Ubuntu預設安裝下並沒有sendmail,
所以我們進去SSH執行安裝:
sudo apt-get install sendmail
就可以徹底解決 Could not instantiate mail function 的問題了!
資料來源:https://izo.tw/ubuntu-sendmail/
Easy is power
phpmailer真的是一個寄信神物,但剛剛卡關一直出現
Could not instantiate mail function的錯誤..
因為Ubuntu預設安裝下並沒有sendmail,
所以我們進去SSH執行安裝:
sudo apt-get install sendmail
就可以徹底解決 Could not instantiate mail function 的問題了!
資料來源:https://izo.tw/ubuntu-sendmail/