Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个新安装的 Ubuntu 并尝试使用 php 的 mail() 函数。该功能失败,我想我的安装中缺少一两个包。
您是否在 php.ini 中配置了邮件功能?
sendmail_path = /usr/sbin/sendmail -i -t or sendmail_path = /usr/lib/sendmail -i -t