[英]Upload file to server, then attach to email and send in one php file
[英]Unable to send attach file in email in php
我從http://www.smarttutorials.net/php-script-to-send-email-with-attachment/下載了腳本
我得到的錯誤-無法執行:/ usr / sbin / sendmail
這意味着您沒有在服務器上安裝sendmail。 在基於Debian的Linux發行版上使用
sudo apt-get install sendmail
與CentOS或Redhat一起使用
sudo yum install sendmail
如果仍然不起作用,請檢查/ usr / sbin / sendmail的權限。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.