这些函数作为 PHP 核心的一部分,无需被安装即可使用 For Windows users, you can likely set the SMTP directive in the php.ini configuration file to your isp's SMTP mail server - the same as you use for outgoing mail in your email client (Eudora, Outlook, etc.) . However, check with your ISP before doing this! eg SMTP = mail.your_isp.com
首先你的机器上有没有 smtp 服务器,没有的话,肯定是发不了的。
谢谢.但提示: Call to undefined function: mail() 是怎么回事呢?
For Windows users, you can likely set the SMTP directive in the php.ini configuration file to your isp's SMTP mail server - the same as you use for outgoing mail in your email client (Eudora, Outlook, etc.) . However, check with your ISP before doing this! eg
SMTP = mail.your_isp.com
Call to undefined function: mail() 是怎么回事呢?