我无法在php页面中发送带有功能邮件的邮件,我修改了正确的php.ini和fakesendmail的配置文件。 php.ini中的路径正确无误,但函数邮件返回我 “ mail():无法通过“ localhost”端口25连接到邮件服务器,无法在php.ini中验证“ SMTP”和“ smtp_port”设置,或在C:\ Users \ xav \ Desktop \ Gestion d'un中使用ini_set() espace membre \ register.php“
[mail function]
; For Win32 only.
; http://php.net/smtp
;SMTP = localhost
; http://php.net/smtp-port
;smtp_port = 25
; For Win32 only.
; http://php.net/sendmail-from
;sendmail_from ="admin@wampserver.invalid"
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
; http://php.net/sendmail-path
sendmail_path ="C:\Users\xav\Desktop\fakesendmail\sendmail.exe"