如何在whostdevloper的localhost上使用mail()函数

时间:2016-08-05 13:02:53

标签: php email localhost

我正在使用wampdevloper for php。当我尝试使用mail()函数时它会显示错误

  

警告:mail():无法连接到" 127.0.0.1"的邮件服务器端口25,验证您的" SMTP"和" smtp_port"在php.ini中设置或在第9行的C:\ WampDeveloper \ Websites \ localhost \ webroot \ test1.php中使用ini_set()

如何从localhost发送电子邮件。

0 个答案:

没有答案
相关问题